I thought I did this once before, but now I can't figure it out! I'd like to stop the javascript warning popup that demands my attention for nothing.
(The issue is that I'm working on the Stardust@home project, which involves downloading images viewed in series as a "movie." Every once in a while one of the images is missing, so there's a blank frame. I really don't need the wretched warning message, which makes me stop everything and hit "ok." It's not like the message does anything.)
I'm using Firefox 2.0 on Ubuntu Edgy Eft 6.1. I have javascript enabled. I don't have noscript on that machine. Under "Tools" all I see is "Error Console," which doesn't give me the option to ignore warnings. I've looked in the knowledgebase, I've searched the forum, and meanwhile the stupid popups are driving me bananananas.
Is there a line I can put in the about:config? Something in the dom. section? Is there a javascript preferences config file somewhere?
Thanks for any help you folks can give me!
how to turn off javascript warning popups?
- quixote9
- Posts: 63
- Joined: September 7th, 2005, 8:48 am
-
- Guest
I assume you are referring to Alert dialogs that show "Javascript error: ..."
I'm looking at the source, and it appears that threre are two different types of alerts that can open: The one mentioned above and another that displays "Here: + a number + a message". Do you want to disable both only on that site or all alert dialogs regardless of the site?
I'm looking at the source, and it appears that threre are two different types of alerts that can open: The one mentioned above and another that displays "Here: + a number + a message". Do you want to disable both only on that site or all alert dialogs regardless of the site?
-
- Guest
It doesn't really matter. To disable all Javascript alerts, add this to user.js in your profile:
If you only want to disable that particular function at Stardust@home:
If user.js doesn't exist, create a new file with that name in your profile:
http://kb.mozillazine.org/User.js
Firefox needs to be restarted in order for the pref to take affect.
Code: Select all
user_pref("capability.policy.default.Window.alert", "noAccess");
If you only want to disable that particular function at Stardust@home:
Code: Select all
user_pref("capability.policy.default.Window.JS_error", "noAccess");
If user.js doesn't exist, create a new file with that name in your profile:
http://kb.mozillazine.org/User.js
Firefox needs to be restarted in order for the pref to take affect.
- quixote9
- Posts: 63
- Joined: September 7th, 2005, 8:48 am
-
- Guest
-
- Guest