why the state is changing ? Something to see with the load
event ofcourse,
but why is it different after clicking ?
the user Script :
unsafeWindow.navigator.__defineGetter__("appName"
;, function() {
return "My Value";
});
the web page :
<html>
<head>
<script>
var isOk = (navigator.appName=="My
Value");
if(isOk)
{
firsttime = "???????";
}
else
{
firsttime = "!!!!!!!!!!!!!";
}
</script>
</head>
<body>
<div>
<a target="_self"
href="test_onload.html">
<script>
document.write (firsttime);
</script>
</a>
</div>
</body>
</html>
_______________________________________________
Greasemonkey mailing list
Greasemonkey mozdev.org
http:
//mozdev.org/mailman/listinfo/greasemonkey
|