Closed Bug 271925 Opened 20 years ago Closed 20 years ago

Unsolicited pop ups are back using DIV

Categories

(SeaMonkey :: UI Design, enhancement)

x86
Windows 2000
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 242237

People

(Reporter: bugzilla, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a4) Gecko/20040927 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a4) Gecko/20040927 Now that IE can block unsolicited pop ups too, websites are creating "pop ups" in different ways using DIV tags. I'm seeing them on more and more websites. Below is code from overstock.com showing an example. If Mozilla's goal is to eliminate unsolicited pop ups, something needs to be added to selectively block this type when a layer has a z-index greater than the default for the page, and the position is absolute. document.write('<div id="popOffer" style="position:absolute; top:78; left:250; z-index:2; visibility:visible;">'); document.write('<LINK HREF="http://www.overstock.com/float_o_css.css" REL="stylesheet" TYPE="text/css"> '); document.write('<DIV ID="FLOAT"> '); document.write(' <DIV><IMG SRC="http://images.overstock.com/f/102/3117/8h/www.overstock.com/img/mxc/float_o_popup_bg_01.gif"></DIV> '); document.write(' <DIV ID="inside"> '); document.write(' <DIV ID="float_top"><IMG SRC="http://images.overstock.com/f/102/3117/8h/www.overstock.com/img/mxc/float_head_soldout.gif"></DIV> '); document.write(' <DIV ID="float_middle"> '); document.write(' <DIV ID="product"> <DIV CLASS="proComplete"> <DIV CLASS="NewCatListImage"> <A HREF="http://www.overstock.com/cgi-bin/d2.cgi?SEC_IID=3127&PAGE=PROFRAME&PROD_ID=849301"><IMG SRC="http://images.overstock.com/f/102/3117/8h/www.overstock.com/images/products/T954089.jpg" BORDER=0 alt="Memory Foam 2-inch Mattress Topper" height=120></A> </DIV> <DIV CLASS="NewCatListPro" STYLE="height: 45px; padding: 5px 0px;"> <A HREF="http://www.overstock.com/cgi-bin/d2.cgi?SEC_IID=3127&PAGE=PROFRAME&PROD_ID=849301" CLASS="NewCatListPro"><span class="NewCatListPro">Memory Foam 2-inch Mattress Topper</span></A> </DIV><DIV><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0> <TR><TD ALIGN=LEFT CLASS="NewCatListPercent" nowrap>List Price:</td><td align=right CLASS="text" nowrap>$279.00</TD></TR> <TR><TD ALIGN=LEFT CLASS="NewCatListPrice" nowrap>Our Price:</td><td CLASS="NewCatListPrice" align=right nowrap>$79.99</TD></TR> <TR><TD ALIGN=LEFT CLASS="NewCatListPercent" nowrap>Save: $199.01</td><td CLASS="NewCatListPercent" align=right nowrap>(71&#37;)</TD></TR> </TABLE></DIV></DIV> </DIV> '); document.write(' <DIV><BR> '); document.write(' <A HREF="http://www.overstock.com/cgi-bin/d2.cgi?SEC_IID=3127&PAGE=CART"><IMG SRC="http://images.overstock.com/f/102/3117/8h/www.overstock.com/img/mxc/float_middle_cart.gif" BORDER="0"></A></DIV> '); document.write(' </DIV> '); document.write(' <DIV ID="float_bottom"><BR> '); document.write(' Want the latest and greatest deals?<BR> '); document.write(' <A HREF="http://www.overstock.com/cgi-bin/d2.cgi?SEC_IID=3127&PAGE=STATICPAGE&PAGE_ID=1935">Click here and signup for O-mail today!</A></DIV> '); document.write(' <DIV ID="float_close"><A HREF="#" onClick="document.getElementById(&#39popOffer&#39).style.display=&#39none&#39;"> Close <IMG SRC="http://images.overstock.com/f/102/3117/8h/www.overstock.com/img/mxc/float_bottom_close.gif" WIDTH="15" HEIGHT="15" BORDER="0" ALIGN="ABSMIDDLE"></A></DIV> '); document.write(' </DIV> '); document.write(' <DIV><IMG SRC="http://images.overstock.com/f/102/3117/8h/www.overstock.com/img/mxc/float_o_popup_bg_03.gif"></DIV> '); document.write('</DIV> '); document.write('</div>'); Reproducible: Always Steps to Reproduce: 1. Visit any site that decided that they still want to bother you with pop ups, but used a DIV tag to create the "window." 2. 3. Actual Results: An unsolicited "pop up window" appeared. Although it's not technically a window, it serves the same purpose, only it cannot be ignored since it's on the desired page itself. Expected Results: It should block unsolicited pop ups no matter what technology is used to create them. While this sort of thing used to be rare, it's becoming more common. Eventually, it will be unavoidable if something is not done soon.
*** This bug has been marked as a duplicate of 242237 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Component: XP Apps: GUI Features → UI Design
You need to log in before you can comment on or make changes to this bug.