DIGIT-ARC read-only archive · snapshot: July 23, 2026

Blocking POP-ups in Web page

6 posts · originally from https://geek.digit.in/community/threads/blocking-pop-ups-in-web-page.33646/

B
brshravan Original post #1
Aug 9, 2006 at 2:11 AM
hi friends
i have created a webpage under a server.
and when i want to load the webpage some pop-ups are coming.....
these pop-ups are automatically blocked in opera where as they are coming in internet explorer.
so can anyone plz suggest me some html code that i can include in webpage source so that whenever i load my page the pop-ups are automatically blocked....
wating 4 a reply 4m the crackers of webpage builders and others.....
sridatta
Aug 9, 2006 at 8:16 AM
Use google toolbar with popup blocker or any other well rated popup blockers in internet..
here is the link for google popup blocker. :)
*toolbar.google.com/T4/intl/en-GB/?utm_campaign=enGB&utm_source=enGB-ha-apla-in-google&utm_medium=ha&utm_term=popup%20blockers
shaunak
shaunak #3
Aug 9, 2006 at 4:44 PM
he wants some code to block the pop ups so that the page users cant dont have to see it ; not to block the pop ups himself.

many sites like geocities etc insert frames or pop ups in your site in exchange for the free hosting they provide. i dont think it would be leagal to bypass that as it would be breaching the terms of service. why dont you look for different free hosting options like 50webs; or warn users about the forced popup and provide a link to any popup blocker
Desmond
Desmond #4
Aug 9, 2006 at 5:08 PM
First check your Hard drive for Spyware, It might Adware from the server. Then use Google Toolbar or Continue using Opera.
kl_ravi
kl_ravi #5
Aug 11, 2006 at 8:48 AM
Instead of adding a script to block pop-ups, just disable active scripting to block all pop-ups automatically. But it will restrict the functionality of 60% of the webpages on the internet.

So a better way is to ask your target users to add h**p://www.your-website.com to list of restricted sites.

This can be done in Internet Options > Security > Restricted Sites > Add
Venom
Venom #6
Aug 11, 2006 at 9:06 AM
Get a better host which doesnt do that thing!