pop-up blocker

guess i finally understood how pop-up blockers are made..quite similiar to highligther.. using javascript to re-edit those html pages...

for instance, what the script would do is to parse through potential pops-up such as

windows.open("testpage.html","test page")

then it would alter the code

u can't possibly see the changes from the source (View/Source).. it will only show the original one,what being displayed is another version which you can't see the altered-code.

if you notice carefully, if you reverse the blocking function, then it would revisit the URL and refresh the HTML contents.


Brandon Teoh said…
I haven't actually put down my finger to code a pop-up blocker.. but since my sister would accidentally got some pop-up blocker program installed to the house PC, it made me curious to find out more.

First of all, in higher end side, a pop-up blocker is program that blocks pop-up windows in Internet Explorer. It runs in system tray.
Freeware Guide

In lower end explanation, it is actually a daemon-thread program that is registered to IE as toolbars.

have a glimpse on what's happening for a google's popup blocker toolbar registered in the Windows' registry.
Google's Toolbar
Anonymous said…
And A Link Back To Your Web Site Excite You?
Anonymous said…
putting to waste some good money that could have been used in other areas of development for the business involved.
Anonymous said…
Think that will drive you some extra traffic?