Am 30.08.2011 13:13, schrieb Pi:
I am using Firefox 6 with GM 0.9.8, and this very simple script is
getting executed twice on a youtube page:
// ==UserScript==
// @name TestYouTube
// @namespace Pi
// @include http://www.youtube.com/watch?v=*
// ==/UserScript==
alert('test');
This is having bad effects on my bigger scripts. Is it a bug?
Thanks
alert is unfortunately VERY well known to be the cause of former
problems and bugs IIRC. Sometimes the modality that usually should stop
any content loading could be the reason why other scripts are also fired
but the elements are not available yet as the previously executed
testscript's alert freezes the loading process. A closer look into that
case/issue seems absolutely sensible. What are the "bigger scripts"
supposed to do, did you write them or did you download them at
userscripts.org for example (please provide a link then)?
Chris
--
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.