Home > Articles > Web Development > HTML/CSS

  • Print
  • + Share This

Dissecting a Pop-under

Right this way to the lab: Let's dissect a pop-under window.

<TITLE>Pop Under Window</TITLE>
<BODY onLoad=window.open('annoy.html').blur();window.focus();>
This window spawns a popunder.

The code is so simple that it begs little discussion. In the body tag, we tell the browser that upon loading it will open a window using the source file annoy.html, blur that window, and then focus the parent—banishing annoy.html to the background.

  • + Share This
  • 🔖 Save To Your Account

Related Resources

There are currently no related titles. Please check back later.