[Greasemonkey] cnn permission error (GM 0.6.2.1 FF 1.5)
Fabricio Zuardi
fabricio at gmail.com
Thu Nov 3 03:06:31 EST 2005
Hi,
I am trying to get the location.href from this webpage:
http://edition.cnn.com/2005/TECH/space/11/02/early.stars.ap/index.html
But it always give me a permission error, I have made a simple
testcase script here:
http://mamata.com.br/greasemonkey/mytest.user.js
// ==UserScript==
// @include http://edition.cnn.com/*
// ==/UserScript==
(function() {
GM_log(self.document.location)
try{
alert(self.document.location)
}catch(er){
GM_log(er);
}
})();
Anyone has an idea of how to solve this?
[]s
--
Fabricio C Zuardi
http://hideout.com.br
http://idomyownstunts.blogspot.com
More information about the Greasemonkey
mailing list