Closed
Bug 127555
Opened 23 years ago
Closed 23 years ago
DoubleClick pop-under gets past advanced script prefs (NYTimes)
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
CLOSED
DUPLICATE
of bug 126224
People
(Reporter: rafeco, Assigned: rogerl)
References
()
Details
From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.8) Gecko/20020204 BuildID: 2002020406 In my Preferences, I have "Open unrequested windows" turned off under the Scripts & Windows panel in the Advanced category. This manages to kill all of the pop-ups and pop-unders that proliferate on the Internet, except for the Orbitz pop-under at nytimes.com. I assume that they've come up with a technique to fool Mozilla, and that they'll be using it for all of their pop-unders soon enough. Reproducible: Always Steps to Reproduce: You can go to nytimes and surf around until the Orbitz ad pops up, then check out the source for the page. I have captured the JavaScript code that creates the pop-under, it's an included .js file on pages that open the new window. You can see it at: http://rc3.org/clips/orbiz_popunder_js.txt I've also included the full source from the file in "Additional Information" below. Actual Results: A pop-under ad for Orbitz appears. Expected Results: The pop-under ad is suppressed. Source code for the pop-under generating script: document.write('<!-- Template Id = 282 Template Name = pop-under - gif close after click -->\n'); // click-tracking macro added later, not here. var clickurl="http://www.orbitz.com"; var popunder_image = "http://m.doubleclick.net/703651/ORB_720X300_MLF.gif"; var popunder_width = 720; var popunder_height = 300; // properties for the window.open() // can't comment out first line, but others can be commented to // remove the property from the list. var props = "width=" + popunder_width; props += ",height=" + popunder_height; props += ",scrollbars=no"; props += ",toolbar=no"; props += ",resizeable=no"; props += ",directories=no"; function popunder(){ var pop = window.open("","pop",props); pop.blur(); pop.document.open(); pop.document.write('<html><head><title>Orbitz</title>'); pop.document.write('<scr'+'ipt language="javascript">'); pop.document.write('var clickthru="http://ad.doubleclick.net/click%3B3938839%3B0-0%3B0%3B6945409%3B31-1|1%3B525147|524455|1%3B%3B%3f' + clickurl + '";'); pop.document.write('</scr'+'ipt></head><body>'); pop.document.write('<div style="position:absolute; top:0px; left:0px;">'); pop.document.write('<a href="#" onClick="window.open(clickthru);self.close();">'); pop.document.write('<img src="' + popunder_image + '" border="0" width="' + popunder_width + '" height="' + popunder_height + '"></a></div>'); pop.document.write('</body></html>'); pop.document.close(); } document.write('\n\n<img src=\"http://m.doubleclick.net/viewad/817-gray.gif\" border=0 width=1 height=1 onload=\"popunder();return false;\">');
Comment 1•23 years ago
|
||
*** This bug has been marked as a duplicate of 126224 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Yep, it's a dupe. My search missed the other bug.
Status: RESOLVED → CLOSED
Summary: DoubleClick pop-under gets past advanced script prefs → DoubleClick pop-under gets past advanced script prefs (NYTimes)
You need to log in
before you can comment on or make changes to this bug.
Description
•