473,508 Members | 2,324 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

popup blocker code

How do pop-up blocker programs work? Do they intercept http transactions and
strip-out window.open() commands? Is there a single methodology?

Thanks
Jul 20 '05 #1
9 6840
In article <6a**************************@msgid.meganewsserver s.com>,
wp*********@hotmail.com says...
How do pop-up blocker programs work? Do they intercept http transactions and
strip-out window.open() commands?
Possibly.
Is there a single methodology?


No. Mine (PopUp Killer) scans for browser windows and reads the titles
- no proxy involved. You won't be able to beat them.

--
Hywel I do not eat quiche
http://hyweljenkins.co.uk/
http://hyweljenkins.co.uk/mfaq.php
Jul 20 '05 #2
Bill M. wrote:
How do pop-up blocker programs work? Do they intercept http transactions and
strip-out window.open() commands? Is there a single methodology?

Thanks

They use various methods. For example, my browser blocks pop ups
automatically (can be turned off, of course). If I click on a link which
causes a pop up window, that is OK. But if the site initiates a pop up,
it is killed.

Jul 20 '05 #3
> Does that help you any?

Well, some good reply's. I would like to either grow my own popup blocker or
use squid to do it. Using squid to do this is kind of an
after-the-post-thought but it occurs to me that since I'm already using
Linux squid for my Windoz clients, that would be the place to do this.

In terms of growing my own (Windoz app), I think I was actually looking for
more technical details/best practice on how to do this. I wasn't very clear
about what I was looking for. My bad.
Thanks,

Bill
Jul 20 '05 #4
>
Well, some good reply's. I would like to either grow my own popup blocker or use squid to do it. Using squid to do this is kind of an
after-the-post-thought but it occurs to me that since I'm already using
Linux squid for my Windoz clients, that would be the place to do this.

http://phroggy.com/bannerfilter/

Looks like what I want.
Jul 20 '05 #5

"Bill M." <wp*********@hotmail.com> wrote in message
news:6a**************************@msgid.meganewsse rvers.com...
How do pop-up blocker programs work? Do they intercept http transactions and strip-out window.open() commands? Is there a single methodology?

Thanks


I have Internet Security 2003... It has a feature to block popups and
adverts... It is very successful, but not 100% successful.

I did some checks... note, I am a javascript newbie but I am a techie (with
several years of linux/unix and some windoze support behind me) so I think I
got a good distance...

First... part of the Firewall that comes with Internet Security 2003 and its
efforts to prevent popups is it scans all html as you surf and if it finds
reference to "banner" or "popup" it can end up either removing the
code/reference to the function or createing a similar named function after
the original named function so as the author's original one is not
used/called.

Thus, a javascript with /banner/ in the path will not be displayed - the
same with /banner.js or /banner.jpg It has other terms also written in, and
it has various website names too (like doubleclick.net) that are
automatically ignored.

Secondly, I found that when I do a View Source of some web pages, I get code
similar to the following sprinkled in there (normally immediately after
<head>)

<script language="JavaScript">
<!--

function SymError()
{
return true;
}

window.onerror = SymError;

var SymRealWinOpen = window.open;

function SymWinOpen(url, name, attributes)
{
return (new Object());
}

window.open = SymWinOpen;

//-->
</script>
This code turns up before </BODY>
<script language="JavaScript">
<!--

window.open = SymRealWinOpen;

//-->
</script>
I have visited http://mail.yahoo.com then did a view source and extracted
the above just as an example - I don't know if difference code is inserted
pending on what website I visit.

Does that help you any?

randelld
Jul 20 '05 #6
hi,
I want to write a program which will popup IE instances
programmatically even if there is a POPUP-BLOCKER installed.Does
anybody know how to do it??Please help..
Thanx
Dileep


Randell D. wrote:
"Bill M." <wp*********@hotmail.com> wrote in message
news:6a**************************@msgid.meganewsse rvers.com...
How do pop-up blocker programs work? Do they intercept http
transactions and
strip-out window.open() commands? Is there a single methodology?

Thanks
I have Internet Security 2003... It has a feature to block popups and
adverts... It is very successful, but not 100% successful.

I did some checks... note, I am a javascript newbie but I am a techie

(with several years of linux/unix and some windoze support behind me) so I think I got a good distance...

First... part of the Firewall that comes with Internet Security 2003 and its efforts to prevent popups is it scans all html as you surf and if it finds reference to "banner" or "popup" it can end up either removing the
code/reference to the function or createing a similar named function after the original named function so as the author's original one is not
used/called.

Thus, a javascript with /banner/ in the path will not be displayed - the same with /banner.js or /banner.jpg It has other terms also written in, and it has various website names too (like doubleclick.net) that are
automatically ignored.

Secondly, I found that when I do a View Source of some web pages, I get code similar to the following sprinkled in there (normally immediately after <head>)

<script language="JavaScript">
<!--

function SymError()
{
return true;
}

window.onerror = SymError;

var SymRealWinOpen = window.open;

function SymWinOpen(url, name, attributes)
{
return (new Object());
}

window.open = SymWinOpen;

//-->
</script>
This code turns up before </BODY>
<script language="JavaScript">
<!--

window.open = SymRealWinOpen;

//-->
</script>
I have visited http://mail.yahoo.com then did a view source and extracted the above just as an example - I don't know if difference code is inserted pending on what website I visit.

Does that help you any?

randelld


Jul 23 '05 #7
hi,
I want to write a program which will popup IE instances
programmatically even if there is a POPUP-BLOCKER installed.Does
anybody know how to do it??Please help..
Thanx
Dileep


Randell D. wrote:
"Bill M." <wp*********@hotmail.com> wrote in message
news:6a**************************@msgid.meganewsse rvers.com...
How do pop-up blocker programs work? Do they intercept http
transactions and
strip-out window.open() commands? Is there a single methodology?

Thanks
I have Internet Security 2003... It has a feature to block popups and
adverts... It is very successful, but not 100% successful.

I did some checks... note, I am a javascript newbie but I am a techie

(with several years of linux/unix and some windoze support behind me) so I think I got a good distance...

First... part of the Firewall that comes with Internet Security 2003 and its efforts to prevent popups is it scans all html as you surf and if it finds reference to "banner" or "popup" it can end up either removing the
code/reference to the function or createing a similar named function after the original named function so as the author's original one is not
used/called.

Thus, a javascript with /banner/ in the path will not be displayed - the same with /banner.js or /banner.jpg It has other terms also written in, and it has various website names too (like doubleclick.net) that are
automatically ignored.

Secondly, I found that when I do a View Source of some web pages, I get code similar to the following sprinkled in there (normally immediately after <head>)

<script language="JavaScript">
<!--

function SymError()
{
return true;
}

window.onerror = SymError;

var SymRealWinOpen = window.open;

function SymWinOpen(url, name, attributes)
{
return (new Object());
}

window.open = SymWinOpen;

//-->
</script>
This code turns up before </BODY>
<script language="JavaScript">
<!--

window.open = SymRealWinOpen;

//-->
</script>
I have visited http://mail.yahoo.com then did a view source and extracted the above just as an example - I don't know if difference code is inserted pending on what website I visit.

Does that help you any?

randelld


Jul 23 '05 #8
hi,
I want to write a program which will popup IE instances
programmatically even if there is a POPUP-BLOCKER installed.Does
anybody know how to do it??Please help..
Thanx
Dileep


Randell D. wrote:
"Bill M." <wp*********@hotmail.com> wrote in message
news:6a**************************@msgid.meganewsse rvers.com...
How do pop-up blocker programs work? Do they intercept http
transactions and
strip-out window.open() commands? Is there a single methodology?

Thanks
I have Internet Security 2003... It has a feature to block popups and
adverts... It is very successful, but not 100% successful.

I did some checks... note, I am a javascript newbie but I am a techie

(with several years of linux/unix and some windoze support behind me) so I think I got a good distance...

First... part of the Firewall that comes with Internet Security 2003 and its efforts to prevent popups is it scans all html as you surf and if it finds reference to "banner" or "popup" it can end up either removing the
code/reference to the function or createing a similar named function after the original named function so as the author's original one is not
used/called.

Thus, a javascript with /banner/ in the path will not be displayed - the same with /banner.js or /banner.jpg It has other terms also written in, and it has various website names too (like doubleclick.net) that are
automatically ignored.

Secondly, I found that when I do a View Source of some web pages, I get code similar to the following sprinkled in there (normally immediately after <head>)

<script language="JavaScript">
<!--

function SymError()
{
return true;
}

window.onerror = SymError;

var SymRealWinOpen = window.open;

function SymWinOpen(url, name, attributes)
{
return (new Object());
}

window.open = SymWinOpen;

//-->
</script>
This code turns up before </BODY>
<script language="JavaScript">
<!--

window.open = SymRealWinOpen;

//-->
</script>
I have visited http://mail.yahoo.com then did a view source and extracted the above just as an example - I don't know if difference code is inserted pending on what website I visit.

Does that help you any?

randelld


Jul 23 '05 #9
fr*************@yahoo.com wrote:
hi,
I want to write a program which will popup IE instances
programmatically even if there is a POPUP-BLOCKER installed.Does
anybody know how to do it??Please help..


And if IE isn't installed on the machine?

But you and ever other spammer on the web wants to know how to open a
popup window even if a popup blocker is installed.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Jul 23 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
5820
by: dave yan | last post by:
hi, i have some forms which use javascript for data validation, e.g., checking to make sure all required fields are completed, checking that data falls within valid ranges for certain fields,...
38
5002
by: Shaun McKinnon | last post by:
HI...Here's my problem...I have a popup window that loads when i want it to, but it's not sized properly. I've set the size, but it doesn't seem to work. I've been on 8 different websites to find...
10
3168
by: Agony.COM | last post by:
Hi there all, Is there a way, using Javascript, that you can detect if a popup window has opened successfully? I'm tring to work out if someone is running popup blocking software or not. ...
2
3268
by: QA | last post by:
http://www.popupcheck.com/popup_manual/modeless.asp can still have a popup even when I have a popup blocker - google toolbar. I want to know the technology, but I can not read the source code....
26
6777
by: Raffi | last post by:
Hi, We have a database application that runs in a popup Internet Explorer application window. The reason for this is to isolate the casual user from the address bar and the typical IE navigation...
9
3905
by: Rathtap | last post by:
I want to popup a window from my codebehind. The reason is that during the postback the code needs to do some validations and to build the arguments that are passed in the url. How can I achieve...
7
3648
by: anthony.turcotte | last post by:
Hi, I've looked for a solution to this problem on google, read posts in this newsgroup and I still haven't found anything that could help me. Here's the scenario. 1. User accesses...
7
8454
by: rob c | last post by:
Hi Does anyone know what triggers a "popup blocker"? I'm going to be opening some sub-windows from my main page and don't want to get caught in a blocker. Thanks Rob
4
4259
by: vickeybird | last post by:
I want to know if it is possible to detect if Pop up Blocker is enabled without trying to open a Pop Up windows. I'm trying to create a web analytics script and visible Pop up in case of disabled...
3
4496
by: Yisehaq | last post by:
Hi guys I am trying to prepare few html pages which contain OLAP cubes on a CD. The problem I have is that the popup blocker blocks the OLAP modules from being shown. Therefore, I wanted to write...
0
7229
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7333
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7398
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7061
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5637
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4716
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3194
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
769
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
428
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.