English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have a site that oppens other sites in several frames. the problem is that it also oppens their pop-ups. is there a php script that would allow to block these pop-ups? thanks !

2006-10-03 01:20:38 · 3 answers · asked by patimages 3 in Computers & Internet Programming & Design

3 answers

PHP is executed on server; pop-ups occur on client. You need a pop-up blocker in your browser. Some browsers have that functionality (you just need to enable it), others can be equipped with a third-party pop-up blocker (for example, Google Toolbar has this functionality).

2006-10-03 06:46:32 · answer #1 · answered by NC 7 · 0 0

Not in a practical way. It would have nothing to do with PHP since that is executed on your server, the pages are going from the other sites directly to the client, your site never sees them.

For you to see them, you would have to pull the pages to your server, strip out the html coding, then deliver them to your client. Humm... not even sure that is feasible.

Using client side code like Javascript you could only attack the problem after the pop ups eh... pop up. I am not sure you can parse the DOM and delete scripts in a frame but that might be possible.

I use firefox so I never see pop ups.

2006-10-03 10:59:31 · answer #2 · answered by fwiiw 4 · 0 0

Soory, Don't know so much about PHP but u can remove these POP ups just double click on those and u find that these are open and working.

2006-10-03 08:33:54 · answer #3 · answered by Frank 3 · 0 0

fedest.com, questions and answers