Closed
Bug 90940
Opened 23 years ago
Closed 23 years ago
add ability to ignore javascript new window command
Categories
(Core :: JavaScript Engine, enhancement)
Core
JavaScript Engine
Tracking
()
People
(Reporter: jwright, Assigned: rogerl)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010628
BuildID: 2001062815
Enhancement request:
Konqueror, the browser from KDE, added a feature to ignore the javascript
command to open new windows (usually used for ads). It would be nice to have
this ability in Mozilla, under the browser preferences.
Additionally, it might be nice to have an option to ask the user first.
Reproducible: Always
Steps to Reproduce:
1. Go to http://www.intellicast.com/ and browse.
2. You will soon see a popup ad in a new window.
Comment 1•23 years ago
|
||
*** This bug has been marked as a duplicate of 75371 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Comment 2•23 years ago
|
||
This looks like a dupe of Bug 75371. If you want to disable it for the meantime
though, read the relnotes.
John, for your personal reference, this was pulled from
http://www.mozilla.org/releases/mozilla0.9.2/
The syntax for blocking pop-up windows has changed since Mozilla 0.9. To block
pop-up windows, add this line to the prefs.js file in your Mozilla profile
directory while Mozilla is not running:
user_pref("capability.policy.default.Window.open", "noAccess");
If you want to allow specific sites to open new windows, add the line above and
also these lines:
user_pref("capability.policy.allowpopups.sites", "http://www.mozilla.org
http://bugzilla.mozilla.org");
user_pref("capability.policy.allowpopups.Window.open", "sameOrigin");
See the Configurable Security Policy documentation for more information.
(http://www.mozilla.org/projects/security/components/configPolicy.html)
Comment 4•23 years ago
|
||
Verified Duplicate. Also see bug 29346, "Prevent repeating pop-up windows"
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•