Oops! Something went sideways.

Looks like the styling got goofed up. Sorry about that, unless it's what you wanted. If this isn't what you were looking for, try force refreshing your page. You can do that by pressing Shift + F5, or holding Shift and clicking on the "reload" icon. (It's the weird circle arrow thing "⟳" just above this page, usually next to where it says https://blog.unitedheroes.net...)

isn't quite ashamed enough to present

jr conlin's ink stained banana

:: How Th’ Hell…?

Recently i spent quite some time pouring over a website’s javascript. It wasn’t neccessarily because it was being exceptionally clever or because i wanted to duplicate it. To be honest, it was for quite the opposite reason, really. It was because it generated a popup.

Yep, some horribly clever marketing sod had determined that in spite of the continual loathing that is expressed toward popups, the companies that use them and the products they feature, they figured out a way to bypass Firefox’s built in popup blocking and brought up an unbidden window regardless.

Venkman wasn’t really much help since it crashed my browser and generally took several real clock seconds to execute each instruction, but it did provide me enough of a clue as to what was going on.

The hack they used was rather miserable. They had an iframe load on a 3 second delay that then sent a parent request which triggered the window open. Since the parent page had fully rendered, it didn’t block the new window request.

Fortunately, it’s fairly easy to block the originating host (*cough*falkag.net*cough*) using AdBlock, but i do expect more idiots to try and do this sort of end-run. Friggin’ wonderful.

Blogs of note
personal Christopher Conlin USMC memoirs of hydrogen guy rhapsodic.org Henriette's Herbal Blog
geek ultramookie

Powered by WordPress
Hosted on Dreamhost.