Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

Question about alert boxes

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
Home » Discuss » DU Groups » Computers & Internet » Computer Help and Support Group Donate to DU
 
ohheckyeah Donating Member (1000+ posts) Send PM | Profile | Ignore Wed Jun-09-10 04:24 PM
Original message
Question about alert boxes
Does anyone know how to disable an alert box in Firefox? I'm using a website that gives a notification for a new question to answer and once you click OK it takes you to the question page. Evidently, from what someone has said on a forum concerning the website, there is a way to disable that alert box and have Firefox default to the question page, bypassing the step of clicking ok.


Does anyone have any idea how that is done?

Refresh | 0 Recommendations Printer Friendly | Permalink | Reply | Top
canetoad Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Jun-10-10 02:58 AM
Response to Original message
1. Could be Block Popup Windows
Look in Tools menu/Options....Content tab.
Printer Friendly | Permalink | Reply | Top
 
ohheckyeah Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Jun-10-10 09:40 PM
Response to Reply #1
4. Thanks.
I think this is a javascript alert or announcement box that you have to click okay to go to another page. I just can't figure out how someone bypassed that and got the page to automatically load without having to click on the acceptance button (or okay button).

Printer Friendly | Permalink | Reply | Top
 
Earth Bound Misfit Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Jun-10-10 08:20 AM
Response to Original message
2. In FF 3.6.3: Tools-> Options-> Advanced-> General Tab
untick "Warn me when web sites try to redirect or reload the page"

Is that the "alert box" of which you speak?
Printer Friendly | Permalink | Reply | Top
 
ohheckyeah Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Jun-10-10 09:39 PM
Response to Reply #2
3. No.
This is a built in alert box on a website. When you click the OK it sends you to a page with a question to answer. I was told there was a way to disable that function and it would automatically go to the question page without having to get the alert (or announcement box if you will) and click on okay.

Does that make any sense?
Printer Friendly | Permalink | Reply | Top
 
canetoad Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Jun-10-10 09:52 PM
Response to Reply #3
5. I wonder if it's the NoScript add-on
That can disable java scripts from running on your page.
Printer Friendly | Permalink | Reply | Top
 
ohheckyeah Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Jun-10-10 11:31 PM
Response to Reply #5
8. I think I tired the NoScript addon and it didn't
work.
Printer Friendly | Permalink | Reply | Top
 
charlie Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Jun-10-10 10:31 PM
Response to Reply #3
6. Try editing your 'user.js' file
It's in your Firefox profile folder:

SYSTEM_ROOT\Documents and Settings\USER_NAME\Application Data\Mozilla\Firefox\Profiles\GIBBERISH.PROFILE_NAME

If it doesn't exist, you'll have to create it. Just open a text file in a text editor and save it using the name 'user.js'.

Insert these lines:

user_pref("capability.policy.policynames", "noalert");
user_pref("capability.policy.noalert.sites", "http://www.annoyingalert.com");
user_pref("capability.policy.noalert.Window.alert", "noAccess");

Replace the annoyalert.com site with the name of your site. Save the file.

Close and restart Firefox.

More info:

http://www.mozilla.org/projects/security/components/ConfigPolicy.html
http://www.mozilla.org/unix/customizing.html

This should work IF... it's a Javascript ALERT prompt you're talking about. The prefs script above will disable it. In Javascript, an ALERT merely pauses script execution until you click OK, then it'll fall through to the next line, which should be the redirect to the question page.

If it's a CONFIRM prompt (a 2-button OK and CANCEL dialog) however, this method won't work. The action following a CONFIRM is conditional, depending on which button you click. Making the CONFIRM go away will stop the script and the redirect will never happen. To fix that, you'll probably need to write a GreaseMonkey script, which is way more trouble than this is worth.
Printer Friendly | Permalink | Reply | Top
 
ohheckyeah Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Jun-10-10 11:30 PM
Response to Reply #6
7. Thank you very much.
I'll try this out tomorrow and let you know.

It's definitely a javascript alert.


Printer Friendly | Permalink | Reply | Top
 
ohheckyeah Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Jun-14-10 12:33 AM
Response to Reply #6
9. I tried it out and it didn't work.
Thanks for your help, though!
Printer Friendly | Permalink | Reply | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Fri May 03rd 2024, 11:04 PM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » DU Groups » Computers & Internet » Computer Help and Support Group Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC