Ok, I checked the matter thoroughly. On new profile in Firefox4 instal
only Greasemonkey.

And now, I wrote script who randomly do sth (like go to other page),
using this syntax:

t = setTimeout(function(){document.location.pathname = "xxx"},  500);

And all will works fine, of course in anonymous function can be any
command. Sometimes to debug my script I use alert box. But in Firefox
4 when I use alert, this comand broke every timeout and interval, and
script stop work. Just one alert and script not work, even if I dont
use alert again. Delete alert in my script, refresh tab does not
change anything.

If I change anonymous function to normal function (with name), script
re-starts and work fine. If I dont do that, I must close tab and open
again << and all work, until I will not use alert again.

What is interesting, if I make and put button on page, add to it
eventlistener click (which activates alert) and press this buton,
script work correctly, so this kind of alert does not spoil anything.

Firefox 3.6.16 that problem is no exist, I use Windows XP. Any
solution or explain?

-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en.

Reply via email to