Slashdot Mirror


Blocking Pop-ups at the ISP Level?

roXet asks: "I work for a small ISP that offers dial-up and DSL in Louisiana. In the wake of the big boys' new wave of pop-up and spam blocking advertisements, I am looking into providing these services for our customers. I hate the thought of filling my customers machines with proprietary software, if for no other reason than I see it creating a support nightmare for our call center. I have found several options for blocking spam at the network level, but I have yet to find a good solution for getting rid of pop ups. Has anyone found a good method of doing this at the ISP level?"

108 comments

  1. possibilities by dtfinch · · Score: 3, Informative

    You can set them up with an alternative browser. Mozilla Firebird is fast and does popup blocking, and is by no means proprietary.

    Blocking website popups at the ISP level would be hard. Sure, you could set up your own http proxy and replace occurances of "open(" with something else, but it's so easy for a web site to obfuscate their popup code to get past such a filter and you would also be breaking countless sites that don't use popup ads.

    You can no doubt block gator and a bunch of other insidious adware though. Just block all their domains and executable filenames. Most low end firewall/routers have a url filtering feature that's adequate for this. The people who are hit by the most popups often have one or more of these installed and don't know about it.

    1. Re:possibilities by CptChipJew · · Score: 1

      There are 2 types of popup blockers.

      The kind that don't work - The one's where they try to determine whether or not a popup is an advertisement.

      And the kind that work - The one's that block ALL popup's.

      Apple's Safari uses the latter kind, as well as the Google Toolbar for IE6, which blocks all popups as well.

      I've never seen a site get a popup through.

      The only argument I've seen against popup blockers that block all popups is that they will block important popups that need to be seen. But you will notice of the coming years that companies won't even use popups, as they know more and more users are blocking them.

      --
      Vonal Declosion
    2. Re:possibilities by Gregg+Alan · · Score: 3, Insightful

      There are 2 types of popup blockers.

      Nope, three. Konqueror has 'smart' popup blocking where it allows popups that result from an action I take (click a link, keystroke...) and blocks the rest.
      It's great because it doesn't break sites that use popups for various legitimate reasons.

      --
      Here before all but 8486 of you.
    3. Re:possibilities by Anonymous Coward · · Score: 0

      That's type 1. The assumption is that windows which are opened as a result of certain user interactions aren't spam. This assumption used to be true, but if more people start blocking popups this way, advertisers will just wait until you click somewhere before they open the ad-window. There is no way for a program to know whether it's showing you an advertisement or a bigger version of the thumbnail you just clicked on, except temporarily valid assumptions. I'd still choose "intelligent" pop-up blockers because I prefer us to enter into this arms race. That buys us some time before DHTML "popups" become the norm. Turning off Javascript will damage interactive Websites much more than turning off popups. Let's give them some room to fight.

    4. Re:possibilities by swright · · Score: 1

      Actually not true - Safari (and others), while not trying to be clever about it, actually block popups that aren't directly linked to something you do.

      So, clicking on a button where the window.open() is called from the onClick handler will work. window.open()s in onLoad handlers et al will not work.

      At least, thats the way my Safari works (1.1 on Panther).

      Although also, in my experience, Mozilla gets it perfect - no naughty popups but ones that I want to happen (even window.open()s in bare script executed as the page loads) somehow manage it - and no popups that I don't want!?!

    5. Re:possibilities by Carnildo · · Score: 1

      There are 2 types of popup blockers.

      The kind that don't work - The one's where they try to determine whether or not a popup is an advertisement.

      And the kind that work - The one's that block ALL popup's.


      The Proxomitron uses the first kind, and it's very good at blocking only ad popups: I see one or two ad popups a year, and I don't have to turn the filtering off for sites that make honest use of popups.

      --
      "They redundantly repeated themselves over and over again incessantly without end ad infinitum" -- ibid.
    6. Re:possibilities by orthogonal · · Score: 1

      The Proxomitron uses the first kind

      Specifically, the (default) Proxomitron filter replaces window.open with a javascript that only allows opens if they were immediately preceded by a mouse-up (indicating that the user actually clicked on something), and disallows pop-ups immediately after a window load (another filter unilaterally edits out onUnload scripts).

      So it's much like the heuristics other posters have noted are used by Konqueror or Safari.

    7. Re:possibilities by Anonymous Coward · · Score: 0

      That's type 1 dumass - the OP was clearly not talking about popups you request.

    8. Re:possibilities by Anonymous Coward · · Score: 0

      I would be pissed if my provider blocked pop-ups. How do they know what pop-ups I want or don't want? Or when I do or do not want them?

      If you want to provide your customers with the features that the "big boys" offer right now, just give them a link to Mozilla.org. Pop-up blocker, bayesian spam filtering - and you can even easily install adblock from mozdev.org to filter specific content (I use it to filter all the ads and flash crap that I don't want to see). Using regexes, it's very powerful.

    9. Re:possibilities by baloogan · · Score: 0

      Id like it if i held down shift or somthing, popup could get tohguh...

    10. Re:possibilities by jonadab · · Score: 1

      > Konqueror has 'smart' popup blocking where it allows popups that result from
      > an action I take (click a link, keystroke...) and blocks the rest.

      This is what Mozilla does as well. It is IIRC Opera (or was last I knew) that
      just blocks all new windows. IE, of course, does not have popup blocking built
      in, though I speculate a future version will. There are third-party utilities
      available to give it this feature, naturally.

      Recent Mozilla.org browsers also have the ability to show an icon in the status
      bar when popups from the current page have not been retrieved, and the user can
      retrieve them if desired. Additionally, new windows that are opened by the site
      in response to a user action can be redirected to tabs if desired. I'm still
      waiting on the submit-form-and-load-results-in-a-new-tab feature.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    11. Re:possibilities by holloway · · Score: 1

      Passive or active popups may both be legimate or illegitmate. For passive consider the current situation. For active consider a commercial site replacing every link with a javascript function that causes a popup and then redirects you to the correct location.

    12. Re:possibilities by Anonymous Coward · · Score: 0

      According to Arstechnica, Windows XP Service Pack 2 will add pop up blocking support to Windows XP with Internet Explorer.

      Check it out:

      http://www.arstechnica.com/wankerdesk/04q1/sp2-b et a-1.html

    13. Re:possibilities by Anonymous Coward · · Score: 0

      become authoratative on the DNS record for the KNOWN popup blocking sites, and just redirect it to some non-sensical ip address (255.255.255.255 only is used for DHCP protocols) problem solved. If you block all popups from the ISP level, there is no way to determine that the person "Clicked" on it, or the popup asked for it. (assuming dns lookup) CONNECT http://www.gator.com/some/stupid/piece/of/crap.htm l HTTP/1.0 However, you KNOW that gator has crap for tools. There are alternatives, most of which are free (ad free and cost free) (e.g. Date and time alternative (windows)(unix has simple ntp)) telnet weather windows scheduler anyone?

      (gator only works with windows and WINE ) (VMWARE is windows due to the fact you NEED windows to run it on vmware)

      people like that just make it either easy or frustratingly annoying and wasteful of bandwidth to do that. I lean toward annoying.

    14. Re:possibilities by ooby · · Score: 1

      Google allows you to turn on a site-specific allow for pop-ups. It lets you know when it has smacked down another pop-up so you know that something is trying to force its way onto your screen. So if something from a site you trust was giving you a pop-up, you could opt to turn off pop-ups from that site.

  2. Hmm by Anonymous Coward · · Score: 5, Insightful

    Wouldn't that involve the ISP looking at what you're doing, and be a horrid invasion of privacy?
    I definitely do not want my ISP monitoring my packets. And yes, I expect many replies to this to say "Oh they watch everything you do". I don't subscribe to that level of conspiracy theory.

    propz to GNAA.

    1. Re:Hmm by Anonymous Coward · · Score: 0
      That is a problem with IPSs that force you to use their http proxies. All they really need to do though is set up privoxy on a linux box and let the customers know the ip and port it is on, and how to make their browser use it, at their discression.

      more propz to GNAA.

    2. Re:Hmm by bobbozzo · · Score: 1

      The log files from squid or whatever are so huge that many admins send them to /dev/null

      --
      Nothing to see here; Move along.
    3. Re:Hmm by osewa77 · · Score: 1

      ISPs can aready monitor your internet traffic whether or not they use a proxy server, actually, except for traffic using end-to-end encryption (SSL, SSH). The proxy filtering software is a service the enquirer intends to run for customers who ask for it. I think the proxy aproach is just the perfect way. Pop-up ads are generaly served from the ad network's domain, for now (unti pop-up blockers become too popular).

    4. Re:Hmm by ketil+gufa · · Score: 1

      Well, it's hardly a "conspiracy theory." While I can't speak for every ISP, I know several that do in fact monitor traffic very closely. I myself have been monitored and have had long discussions with several ISPs about this. The only way you can avoid being monitored is to have a very large ISP and try not to attract any attention to yourself.

    5. Re:Hmm by Skal+Tura · · Score: 1

      hmmph, the question is... how to notice you are being monitored?

    6. Re:Hmm by mnewton32 · · Score: 1

      I don't know how you came to the conclusion you were being monitored, but it seems unlikely to me. I work for an ISP with about 1000 customers (dialup and DSL) and the only way we could possibly monitor traffic would be to install a packet sniffer on our gateway machines and piece together things from there. I guess it would be different if we had an http proxy, but how many ISPs would go through the trouble of setting up a proxy server and why would they bother?

    7. Re:Hmm by digitalsushi · · Score: 1

      as a netadmin for a mom and pop isp in nh, i always have to reply to these with "some isps dont look at your data at all, ever". what do i track? i track when your username connected, when it hung up, which phone number you called from (which if you block with *67 or whatever it is, will nullify that line in my log). if you use my mail server then i will have a record of email that came in for you from which server, but just the tcp connection. that data disappears after a day. if you use hotmail, i have absolutely no idea whatever what you're doing online. and i love it that way. with no evidence if what you were doing, i'm better off. unless you made an enemy at an isp personally, and it were a small enough isp one person could do it, i doubt anyone is really all that monitored -- most people just reload cnn.com like rabid animals all day long. who's gonna watch that?

      --
      slashdot: where everyone yells sarcastic metaphors to themselves to understand the issue
  3. Mozilla by Justin+Ames · · Score: 1, Redundant

    Instead of proprietary software you could distribute browsers that are open, and block pop-ups and spam. All this being default settings.

    1. Re:Mozilla by dreamquick · · Score: 1

      ...or just use one of the many open-source advert filtering proxies, neatly avoiding the need to re-educate the rest of the family in how they do things with the new browser.

    2. Re:Mozilla by dreamquick · · Score: 1

      Also has the advantage of not requiring new gizmos to be installed on each machine, as all the machines on one network can access the same filtering proxy.

      (damn /.'s lack of edit button for really good ideas!)

  4. Is this wise? by NanoGator · · Score: 4, Insightful

    The problem with popups isn't the window it opens, but rather it opening without expressed permission. Use Opera or Mozilla and popups are no longer a complaint. Why filter at the ISP level? There are some sites that use them legitimately. (Not auto popups, but opening of popup windows via click.)

    --
    "Derp de derp."
    1. Re:Is this wise? by mattwarden · · Score: 1

      I agree. I sometimes have to turn off Safari's pop-up blocker (which makes me enjoy the fact that it's a preference that's right in the main menu and I dont have to open any preference panes or anything). For instance, when I do online banking, there's an option to view a scanned image of the check, and it opens in a new window. For some reason, the algorithm used by Safari decides the window is no good and blocks it.

      So, your service is only as good as the algorithm. I'd say leave it up to the customer. Maybe offer some browsers that have these features, like others have suggested.

    2. Re:Is this wise? by Anonymous Coward · · Score: 0

      You have to go to the menu to toggle it? Is your keyboard missing the Apple-K button or something? Or are you just a reetard?

    3. Re:Is this wise? by Tor · · Score: 1

      I agree. I sometimes have to turn off Safari's pop-up blocker (which makes me enjoy the fact that it's a preference that's right in the main menu and I dont have to open any preference panes or anything).


      That's why you should use Camino instead of Safari. It offers selective pop-up blocking - the ability to allow unrequested pop-ups for a selected sites. (It also offers selective cookie acceptance.. allow them from 'google.com', but not from 'doubleclick.net', for instance).
    4. Re:Is this wise? by Thing+1 · · Score: 1
      If the ISP does decide to do this, I would hope that they code up a quick applet that would, for instance, sit in your System Tray (enough customers use Windows, and for those that don't they can publish the API; or just do Windows, Mac, and Linux and you've pretty much got the bases covered).

      All the user would have to do is single-click on the applet and it toggles state from, say, green to red (or back) -- green == popups are blocked; red == "the full Internet experience."

      This would allow the ISP to save your bandwidth, but also give you the option to receive popups in case you need to (or want to see a funny popup at some site, or whatever).

      --
      I feel fantastic, and I'm still alive.
  5. Google Bar 2.0 by crapnutassneck · · Score: 2, Informative

    If you do want to use IE, the Google toolbar has a good popup blocker.

    --
    .-=Wit is educated insolence=-. -Aristotle
  6. Use a transparent Squid by sinergy · · Score: 1

    And you can redirect known banner ads, popups, etc. It can't get 100% of popups, as that is higher-level application layer. But you can block html to known "bad" hosts. The biggest issue is that it may inadvertantly block stuff people want to see (such as the random person that actually wanted to buy the wireless video camera).

    --
    ...
    1. Re:Use a transparent Squid by Captain+Pedantic · · Score: 3, Insightful

      So the answer is: Don't set up a transparent proxy. Instead, set one up that customers can "opt-in" to use.

      Your savvy customers will thank you, and people won't be offended by having the choice taken away from them.

      This page appears to cover everything you need to know. But I suspect you've been too busy closing random pop ups to be able to use google

      --

      None are more hopelessly enslaved than those who falsely believe they are free. Johann Wolfgang von Goethe.
    2. Re:Use a transparent Squid by foooo · · Score: 2, Informative

      And you were too busy trying to close pop-ups to provide a working link??

      LINK


      ~foooo

    3. Re:Use a transparent Squid by Captain+Pedantic · · Score: 2, Insightful

      To be honest, I couldn't give a toss whether the ask slashdotter found that page or not. My main point is that he should make this service opt in, as no one likes to be forced to use a transparent proxy.

      --

      None are more hopelessly enslaved than those who falsely believe they are free. Johann Wolfgang von Goethe.
    4. Re:Use a transparent Squid by sinergy · · Score: 1

      Yes I'm well aware of Ad zapper. I've been running it for quite some time. And no, I didn't feel like typing out some pedantic karma-whoring google search URL for it. I'd hope that the person asking the topic question is smart enough to do that for him/herself, as they're obviously involved in decision making for an ISP.

      --
      ...
    5. Re:Use a transparent Squid by John+Hasler · · Score: 1

      > Don't set up a transparent proxy. Instead, set one
      > up that customers can "opt-in" to use.

      Yes. Try and force your filtering on me and I'll take my business elsewhere.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    6. Re:Use a transparent Squid by mvpll · · Score: 1

      If the user knows it is there, shouldn't it be called a translucent proxy?

  7. Noble idea but it can't work at the ISP level by Gregg+Alan · · Score: 1

    You would need a way to tell the difference between a popup that the user wants and a popup that they don't.
    1. Strip all javascript popup code from the html as it passes through your proxy.
    2. Block all access to specific URLs that the popups try to load. Of course, the popup window will still appear, it'll just be empty.

    1 will never work and 2 sucks (plus it'll never work).

    I'm happiest with konqueror's 'smart' popup blocking where it doesn't block popups that result from an action I take.

    --
    Here before all but 8486 of you.
    1. Re:Noble idea but it can't work at the ISP level by Anonymous Coward · · Score: 0

      That's not exactly true.

      They can say have a naked, but fully hardened windows box behind their borders, but infront of their firewalls.

      Use it for browsing slashdot, or something.

      When they get messenger spam, or unwanted pop ups, they can reject them at the firewall via url, domain, or even (my favorite) ip blocking.

      If they want to be a little more proactive, they could go to "warez" and porn sites that try to trap people in webs of shit. Block both the sites and every ad that they open.

  8. google by BigBir3d · · Score: 2, Informative

    toolbar.google.com (works with IE, and now blocks pop-ups) is another option from mozilla etc (which may not work with certain sites).

  9. The only answer - Mozilla by rudy_wayne · · Score: 2, Interesting

    A long time ago, I signed up with a local ISP and they sent me a copy of Netscape Navigator. As a result, it was a few years before I even knew that MSIE existed.

    Do your users a favor. A big favor. Strongly insist that they use a modern, good quality web browser, like Mozilla, and make copies easily available.

    1. Re:The only answer - Mozilla by jonadab · · Score: 3, Insightful

      > Strongly insist that they use a modern, good quality web browser

      You don't have to insist; just put it in the Internet Connection Kit that you
      send them and have your installer set it as the default browser and change out
      the IE shortcuts on the desktop for your approved browser. If the user wants
      specifically to use IE, they still can, but most will just click the big fat
      shortcut on the desktop and be happy. Make sure you configure it so that
      unrequested windows are not loaded by default.

      While you're at it, put in a decent mailreader (Pegasus is good). Your users
      will be believe that your email service is better, because most users can't
      tell the difference between the service and the client software. Users who
      try a competitor's service will get frustrated with MSOE and come back to you.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    2. Re:The only answer - Mozilla by Anonymous Coward · · Score: 0

      Pegasus is good, so long as you don't mind a UI that isn't exactly helpful to new users. I use it myself, but there are probably better mailreaders for beginners.

  10. replies so far by itwerx · · Score: 4, Insightful

    There have been several replies already saying "give them a different browser". However, reading the request, it is quite clearly stated that changes to the client machine are not desireable due to the support time involved.
    So shaddap about the browsers already!! :)
    But, back to the question at hand, I'm afraid that blocking at the ISP level will be:

    A - fairly difficult due to obfuscations. The ISP really isn't going to be doing anything different than a normal pop-up blocking mechanism at the client would in terms of figuring out what is or is not pop-up code and the pop-up people (insert scary mental image here) are already doing their level best to defeat that.

    B - potentially a legal problem as any blocking mechanism that the ISP implements at the network level will, in effect, be interfering with the clients' "communication" with the website in question. The FCC might have something to say about that.
    However, I'm sure there could be a way to set up a database and have people opt-in for pop-up blocking service. IANAL but I would think that them actually requesting such service would clear most legal hurdles.

    As for solutions, I wonder how hard it would be to extract the relevant code from Open Source browsers and make a little routine to rewrite/replace scripts on the fly...? It would almost have to be a proxy though so you could track (and allow) pop-ups which were actually requested.

    1. Re:replies so far by MerlynEmrys67 · · Score: 2, Insightful
      B - potentially a legal problem as any blocking mechanism that the ISP implements at the network level will, in effect, be interfering with the clients' "communication" with the website in question. The FCC might have something to say about that.
      However, I'm sure there could be a way to set up a database and have people opt-in for pop-up blocking service. IANAL but I would think that them actually requesting such service would clear most legal hurdles.

      I don't think the problem is with the FCC at all, the problem is once you start filtering - you loose your common carrier status - thus openning you up for all sorts of liability for things flowing through your network, what you filter for popups, but not for CHILD PORNOGRAPHY - you are a horrible horrible person. You really don't want to do anything to loose your common carrier status

      --
      I have mod points and I am not afraid to use them
    2. Re:replies so far by itwerx · · Score: 1

      once you start filtering - you loose your common carrier status
      Good point! I hadn't though of that little twist. (I am obviously NAISP either :).

    3. Re:replies so far by CaptainStormfield · · Score: 1

      You might also have a potential difficulty with copyright -- the altered version of the page without the pop-up code could be a "derivitave work", based on the original web page. Often, permission is required in order to create a derivitave work based on a copyrighted work.

      This post is not intended to constitute legal advice. If you need such advice, ask a lawyer, not Slashdot.

      --
      "The dinosaurs died because they didn't have a space program." - Niven
    4. Re:replies so far by dtfinch · · Score: 1

      I'm no lawyer, but I don't think you'd lose it if it was an opt-in feature. I can tell the telephone company to block incoming calls from people who have anonymous caller id.

    5. Re:replies so far by jc42 · · Score: 2, Insightful
      once you start filtering - you loose your common carrier status


      Good point! I hadn't though of that little twist.


      Indeed. And this is a good excuse for following the other suggestion: Supply your customers with tools that let them do the filtering themselves. The latest mozilla/netscape browser is a good start. But start studying the subject, and try to collect tools to give the customers control. Put together a good web site that they can download from. Try setting up your own mailing list and/or newsgroup to discuss such things, and get your more tech-savvy customers involved in the problem.

      But make it clear to them that you don't consider it your job to filter (or censor) anything. You just supply Internet access, and you want to help them do the filtering however they prefer.

      You might also encourage your customers to discuss the topic of "spyware", and help them block it.

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
    6. Re:replies so far by Anonymous Coward · · Score: 0

      There have been several replies already saying "give them a different browser". However, reading the request, it is quite clearly stated that changes to the client machine are not desireable due to the support time involved.

      It specifies no proprietary software. Free software might be acceptable, and might even make support easier (there's only one browser to support). Lots of ISPs distribute a branded browser to their customers.

      As for solutions, I wonder how hard it would be to extract the relevant code from Open Source browsers and make a little routine to rewrite/replace scripts on the fly...?

      Pretty hard - browser-based popup removal doesn't rewrite or replace scripts at all, it just runs them differently. And the proxy would have to deal with crap like infinite-loop Javascript files.

    7. Re:replies so far by FrozedSolid · · Score: 1

      Ignoring the legal side of things for a minute, it would be possible to block unrequested popups at the ISP level. The filter could run through a simple http proxy and merely strip out the offending javascript code.

      Of course, the devil is in the details, I would venture to say that blocking all unrequested popups would be difficult with more obfuscated javascript code. Of course, the more complicated processing you perform, the more CPU you require. Unless you had a really really big proxy server cluster, or very few users, I imagine even casual web browsing would saturate any one server. Obviously, you would be text parsing every web page that passes through your proxy. That's some pretty intense workload.

      The whole deal with users who don't want the feature, just don't make it a transparent proxy. With your ISP installation cd, you can automatically change the IE connection settings to use your special popup kiling proxy, but by default, it will just be regular internet. Saavy users could turn it off at their discretion.

      OSS solutions are available. Just from a search at freshmeat, there's middleman, an http/https proxy which, among other things, can filter out popups.

      I frankly would love to see something like this in production. You're absolutely right in that you cannot trust users with their own machines. Recommending alternative browsers and addons will invariably leave you supporting them, this is a huge pain in the neck and could be avoided with a centralized solution as you have suggested.

      --
      When all freedom is outlawed only the outlaws have freedom
    8. Re:replies so far by technos · · Score: 1

      It is technologically feasable to cut a majority of spam with a very simple implementation of existing software. (Combinations of blacklisting and text pattern matching)
      It is technologically feasable to cut a majority of ads from your users browsers. (proxies already rewrite a number of things, it is trivial to make them redirect to a blank image.)
      It is technologically feasable to cut a majority of pop-ups from your users sessions. (proxies, yadda yadda.)

      It is not, however, technically feasable to filter child porn. No accurate blacklists exist. Pattern matching? The state of the art for a subject matter like this is so complex it usually takes a year and several hundred people to do the job.

      --
      .sig: Now legally binding!
    9. Re:replies so far by Anonymous Coward · · Score: 0

      Parent is totally off-topic...

    10. Re:replies so far by itwerx · · Score: 1

      Looking at the feature list it appears not to have that functionality built in. I.e. you would have to use the Perl function hook which it provides to write your own code for that.

  11. Proxy by Bluelive · · Score: 1

    Well if your upto the bigbrother aspects of it. run a http proxy, in transparant hijack mode for example, so that users dont have to config a thing. And start filtering content for known popup codes, and you could use techniques designed for banner blocking, such as html washing or just blocking certain blacklisted domains.

    1. Re:Proxy by Anonymous Coward · · Score: 0

      If I run a Secure Shell server on port 80 and receive an error from your proxy when I try to connect to it, you're not doing your job: Providing internet access. That is unless I told you that I want all connections to port 80 handled by a transparent proxy.

  12. -1 for not using Google by Anonymous Coward · · Score: 0

    There are several HTTP proxies which filter popups. Webwasher offers a commercial solution. A webproxy is at a disadvantage compared to a webbrowser because the browser can take temporal script behaviour into account much easier than the proxy.

  13. how do browsers do it? by astrashe · · Score: 1

    I doubt you're going to find what you're looking for. You'd need a proxy that would parse the HTML and strip out offending javascript. That sounds like it would be pretty tough, and that it would eat a lot of cycles on your end.

    Another problem is that you need to keep some popups -- ones that are generated by clicks -- and toss out others, the ones that show up automatically.

    I don't know how browsers solve the problem, but I'd be interested to know.

    If I were going to try to implement it, I'd probably set things up so that a click event turns off pop up blocking for a short window of time, although that's probably kludgier than what the browsers actually do.

    If it is what they're doing, though, it wouldn't be something you could implement in a proxy server.

    1. Re:how do browsers do it? by LordNimon · · Score: 2, Informative
      I don't know how browsers solve the problem, but I'd be interested to know.

      The JavaScript interpreter ignores the calls to open the window, depending on how the call was made. This technique would not work on the ISP side, because it would require the ISP's server to parse and edit the JavaScript on every page it sends to the users.

      --
      And the men who hold high places must be the ones who start
      To mold a new reality... closer to the heart
    2. Re:how do browsers do it? by bobbozzo · · Score: 1
      The proxy I use (adzap w/ squid) doesn't block the popups, but it blocks the page that would load in the popped-up window. This can reduce total popups if the popup also has more popup code within it, as that code will never load.

      Now that Mozilla has popup blocking, I don't need that part of adzap anymore, but adzaps banner blocking is great, too.

      --
      Nothing to see here; Move along.
  14. Yes, please do tell... by Anonymous Coward · · Score: 1, Funny

    My company uses popups and would like them to not be blocked. So please share what techniques you're using for blocking so we can try to get around them. Thanks.

  15. um.... by hawkbug · · Score: 1

    Spam and popups are two very, very different problems. I do think SPAM is very capable of being handled at ISP level in most cases, but pop ups are a browser problem. As long as you use a decent browser, such as Mozilla, which blocks them easily, you can't do a thing about it - unless you can filter http traffic and somehow block all javascript, which to my knowledge is not possible or desirable. Just give all your clients a CD with Mozilla on it, and tell them to use that. For most pages, it renders just fine. ESPN.com has major issues with pages rendering properly with any browser other than IE, but for the most part, those alternative browsers work great and are loaded with cool features.

  16. No, dammit by 0x0d0a · · Score: 2, Insightful

    Argh. No. Not transparent proxies, unless you're providing an opt-in mechanism (say, a value-added service) to do so. It's *so* frusterating when ISPs start mucking with my network connection (firewall incoming and outgoing SMTP or transparently proxy it, block outgoing DNS, etc).

    ISPs bitch about how they can't provide tiered service. Spam blocking, popup blocking, firewalling, are *all* great things to toss in value-added packages to provide tiered service. They, however, drive many people (who don't *want* said "service") to tears.

    Another option would be a opaque proxy and to provide a mini application that sets it up.

    1. Re:No, dammit by bobbozzo · · Score: 1
      Another option would be a opaque proxy and to provide a mini application that sets it up.

      Most browsers will accept a URL to a "proxy.js" in the proxy config options, so the user doesn't have to type in all the hostname/ports for ftp, http, https, ...

      eg http://proxy.isp.net/proxy.pac

      Inside that goes something like this:

      function FindProxyForURL(url, host) { return "PROXY proxy.isp.net:3128"; }

      --
      Nothing to see here; Move along.
  17. Have them Use Mozilla. by Dolemite_the_Wiz · · Score: 1

    I'm a recent convert from IE after getting sick of all the popups day in and day out.

    Mozilla Kicks a$$ for blocking pop-up ads.

    Either that or Build a custom app for your customers.

    Dolemite
    _______________

    --
    Save the World! Use a Quote!
  18. Blacklist by Tyrdium · · Score: 2, Informative

    A good blacklist should have zero false positives, and still block a good deal of ads. I use Dan Pollock's hosts file, and it works pretty well. It blocks Hotmail's in-page ads, along with a lot of others. It also has some sites that set malicious tracking cookies and popup traps blacklisted. Of course, you should check each url for validity, but it should work pretty well. Also, I suggest you put a page on your site that contains suggestions for Internet security, including links (and preferably easy tutorials) to things like Adaware, Spybot, and the like. Oh, and a link to Firebird (or Mozilla) would be good, too... ;)

    1. Re:Blacklist by cybermancer · · Score: 1

      The suggestion to provide links to empower your users is a good one. I would also include links to firewalls (Kerio, Tiny, ZoneAlarm), virus scanners (www.grisoft.com, housecall.antivirus.com as well as Norton, McAfee, etc.) and maybe even GRC.net.

      By providing these helpful links you empower your users while not taking the responsibility to support all these configurations.

      --
      "Anything is possible with enough programmers, time and pizza." (Substitute caffeine for time as needed.)
    2. Re:Blacklist by cybermancer · · Score: 1

      Sorry, grc.COM, not .net. Maybe I should go home and get some sleep.

      --
      "Anything is possible with enough programmers, time and pizza." (Substitute caffeine for time as needed.)
    3. Re:Blacklist by irc.goatse.cx+troll · · Score: 1

      I wish Tiny or ZoneAlarm would release a branded version for isps that removes all output, maybe saving it to an encoded file to send to isps. I'm tired of people that arn't proper admins using firewalls then complaining to me about mundane stuff like a "portsweep attack!" or whatever fear mongering language they use now to scare people into registering.

      --
      Pain lasts, kid. Its how you know you're alive. Sometimes I think this growing up thing is just pain management-TheMaxx
    4. Re:Blacklist by forn28 · · Score: 1

      Really nice site.

      I use a method like SurfControl do to kill almost all popups thru my firewall. SurfControl act as a proxy or pass-by filter. It uses a database of advertising sites and blocks them. By applying the same filtering in my firewall, with the Dan Pollock hosts file, I can achieve a very good level of filtering on all my hosts.

      To answer the question, by applying filtering thru a proxy (squid for example), you can give your uses a way to choose and if so to block ads/popups.

  19. Offer a well-maintained proxy to your users by Cecil · · Score: 4, Informative

    A popular solution is Privoxy's popup blocking chained with Squid's caching. In my opinion, that's the way to go. Privoxy by default also blocks ads and webbugs and nasty javascript and other things, but you can disable those features.

    These could probably be configured as a transparent proxy if you don't want to set it up manually on users' computers, but speaking as a power user, I would never sign up with an ISP that stuck me with a proxy I couldn't avoid.

  20. Proxomitron by cybermancer · · Score: 3, Informative

    http://www.proxomitron.info/

    Proxomitron is a proxy that provides that as well as many other features. Since it is a proxy you could put it on your servers and provide access only for your subscribers. Make it optional. Most good browsers offer easy switching between proxy and non-proxy mode.

    Proxomitron offers more then just popup blocking, and also by letting them use the ISP as a proxy they have an additional level of anonymity.

    You would need to configure Proxomitron to a useful, but not too invasive level, or offer multiple proxies at different levels of restrictiveness. Then the use can pick which one they want depending on their needs. Document it all really well on your support site.

    --
    "Anything is possible with enough programmers, time and pizza." (Substitute caffeine for time as needed.)
    1. Re:Proxomitron by cybermancer · · Score: 1

      http://www.proxomitron.info/ I forgot to make that url a link. Sorry.

      --
      "Anything is possible with enough programmers, time and pizza." (Substitute caffeine for time as needed.)
    2. Re:Proxomitron by Carnildo · · Score: 1

      I'm not sure the Proxomitron scales well enough to be used at an ISP level. I know I've had trouble with it handling more than 40 or so connections at a time, but that might just be the fact that I was running it on a Win98 box.

      --
      "They redundantly repeated themselves over and over again incessantly without end ad infinitum" -- ibid.
    3. Re:Proxomitron by cybermancer · · Score: 1

      I'm not sure the Proxomitron scales well enough. . .

      That wouldn't surprise me. I also noticed that the Proxomitron projects is listed as dead.

      So use that idea with another proxy server - either off the shelf, or write your own. They are pretty simple really.

      --
      "Anything is possible with enough programmers, time and pizza." (Substitute caffeine for time as needed.)
    4. Re:Proxomitron by Carnildo · · Score: 1

      That wouldn't surprise me. I also noticed that the Proxomitron projects is listed as dead.

      Listing it as "dead" is somewhat misleading. The program itself is no longer being developed, but anyone can write filters for it, and filter development is still quite active. (See proxomitron.info)

      --
      "They redundantly repeated themselves over and over again incessantly without end ad infinitum" -- ibid.
    5. Re:Proxomitron by KermodeBear · · Score: 1

      I have been using Proxomiton for well over a year now. It is extremely easy to set up and install and I never have any problems with pop-ups. As an added bonus I don't even see or download most banner ads either - this is VERY helpful when I'm stuck on my 56k, speeding up things greatly.

      As Cybermancer said, just set it up and have your clients use it as a proxy. They will be thrilled!

      --
      Love sees no species.
  21. Webwasher does it. by forged · · Score: 1

    Here. The version free for non-commercial use is no longer available, though (pity!)

  22. For those insisting on IE by bryanp · · Score: 2, Informative

    Mozilla is great but let's face it, for a lot of people The Internet means Internet Explorer and Outlook Express. So, as part of the setup get all of your new users to install either the Google Toolbar or the Avant Browser add-on for IE. They both do an excellent job of blocking popups in IE.

    --
    "An unarmed man can only flee from evil, and evil is not overcome by fleeing from it." Col. Jeff Cooper
  23. Molesting content by Jonny+290 · · Score: 1

    And what happens when websites sue you for denying them income because you blocked their popups?

    I frequent several sites, arstechnica.com would be the most prominent, which ask that you do not block ads or popups, as they are the revenue stream, no matter what personal views you may have on advertising the net.

    1: Block popup ads
    2: Revenue per popup goes down
    3: Popup prices go down
    4: More people buy popups for advertising
    5: More popups! You Lose!

    And I suggest that all of you who will inevitably reply saying "ITS MY COMPUTER I DECIDE WHAT GOES ON IT AND WHAT STAYS", realize that the webmasters of the sites you frequent don't put banners and popups on their sites to annoy you - they do it because running sites costs money. Dilute advertising by blocking it, and it's worth less. Then, everybody can buy MORE than they could in the first place, and you have twice as many popups otherwise.

    If these options don't suit you, there's an alternative network you can restrain your activities to. Something about a 192.168 subnet springs to mind.

    --
    Hey Taco! Looks like you're using the "infinite monkeys and typewriters" scheme to generate Ask Slashdots again...
    1. Re:Molesting content by BCoates · · Score: 1

      5: More popups! You Lose!

      Don't worry, it's just as easy for me to automatically block two popups as one.

      --
      Benjamin Coates

    2. Re:Molesting content by Twylite · · Score: 1

      Furthermore: an ISP (or its software) can't distinguish between pop-ups a user wants/needs, and those a user doesn't; and blocking ads may force the user to violate their AUP.

      I know of several sites that use an auto-pop-up login dialog or have an AUP that prohibits the blocking of ads from the site.

      To make matters worse, there are alreay some sites that are using TV-like advertising -- any link click could be replaced by a full-screen on-page animated (flash or image) advert that has Javascript ensuring it is fully loaded and displayed before allowing you to click on the "on to the link I really wanted, please" button. Attacking pop-ups (which are a minor annoyance on most sites) will just make this sort of advertising more common (and it is a major annoyance, esp. for people with limited bandwidth).

      --
      i-name =twylite [http://public.xdi.org/=twylite], see idcommons.net
    3. Re:Molesting content by EzInKy · · Score: 1

      You know, I'm willing to bet that most people didn't have a problem with banners as long as they were static. I even clicked on a few now and then and actually even bought something once or twice. Pop-ups on the other hand are just downright obtrusive and rude, and before I started blocking them I was too busy trying to close the stupid things to bother about reading their content.

      --
      Time is what keeps everything from happening all at once.
  24. Makes no sense to me. by kosmosik · · Score: 1

    Just put a website informing of means (with links) to avoid these popups: alternative browser - there are plenty of them: Avant Browser, MyIE, Mozilla, Opera etc. And let them choose by themself. It is not in ISP buissnes what an user is doing with his (or her) own bandwith - mind that. AFAIR Google Toolbar also blocks popups and it does not involve switching browser (which my problematic) - it just works and weights about 500KB.

  25. XP Service Pack 2 has IE with popup blocker by bungeejumper · · Score: 1

    You don't need to do anything (in fact, it is better that you don't). The IE upgrade coming down the pipeline in summer will have auto popup blocking. Check the latest post on the main slashdot page.

  26. Doesn't have to be all or nothing... by WoTG · · Score: 2, Interesting

    a lot of posts (rightly) mention that most known tricks to blocking pop-ups will present problems for the small minority of users who want the pop-up (or websites where legitimate pop-ups happen to fall into the filter). Perhaps the solution would be some sort of "opt-in". Similar to opting into the spam blocking at Yahoo Mail (and I suppose Hotmail). A little setting through a web interface to enable or disable the pop-up blocking.

  27. If my ISP is reading this... by Curtman · · Score: 1

    Keep your grubby mits off my packets.

  28. Please, don't. by Phexro · · Score: 2, Insightful

    I'd like like to plea with you (and all ISPs) not to do anything like this.

    As far as I know, your only options are:
    * Making the user use some sort of filtering software, e.g. Proximotron or Google Toolbar.
    * Making the user use a browser with built-in popup blocking.
    * Filtering HTTP requests.

    I recently had a big problem getting an XML-RPC based app to work. Turns out that Proximotron had been installed (without my knowledge) on the client system, and was adding it's popup blocking stuff to the XML-RPC response. While this is fine for HTML, it is definitely not ok for XML.

    You can argue that XML-RPC/SOAP is a perversion of the HTTP standard, but apps using it are already deployed, and as a network admin I have to deal with it. Please don't make my job harder.

  29. Ad Muncher by Anonymous Coward · · Score: 0

    On the slim chance that your ISP is using a windows-based proxy, you could use Ad Muncher.

    It is of course windows-only but is able to filter popups (and other adverts) from html/javascript as they pass through the proxy. It has also received top marks from popup-killer-review.com, beating all reviewed conventional popup stoppers (like google toolbar etc), except for one, which it scored equally with.

    A linux port is currently being worked on, if you'd like to be notified when it's available just use the contact page on admuncher.com.

  30. And you must disable them. by devphil · · Score: 2, Interesting
    Privoxy by default also blocks ads and webbugs and nasty javascript and other things, but you can disable those features.

    The way it gets around, say, certain kinds of Javascript, is by rewriting the function text as it goes by. But it doesn't know what is and isn't actually a script. Any webpage containing the word "open" followed by an open parenthesis -- there's one in the comment currently at the top of this page -- gets rewritten to "PrivoxyWindowOpen(..." to defang the Javascript, even when it, well, wasn't. The comment makes no sense as it actually appears on my screen, because it isn't what the user wrote. Being familiar with Privoxy, I back up, reparse, and keep going.

    We've all probably seen similar things in email. Anytime members of a certain mailing list start discussing XHTML examples, their snippets have things like "<link_LINK-DEFANGED foo..." and I have to blink a few times before I figure out what they actually wrote and what they didn't.

    Customers of an ISP would be seriously confused and explosively pissed off if this happened to them. Maybe offer levels of filtering; they can choose various ports on your proxies to get them, etc.

    --
    You cannot apply a technological solution to a sociological problem. (Edwards' Law)
    1. Re:And you must disable them. by dodell · · Score: 1

      Of course, then people just get around that by making the javascript look like

      code = "window"+"open"+"(extra_open_commands)";
      eval(cod e);

      Good luck trying to get around all the possible combinations of doing that. In fact, google uses something like this for their ads -- read their JS.

    2. Re:And you must disable them. by devphil · · Score: 1


      No argument from me. I think the good folks at Privoxy are going to have to give up eventually. Alternatively, when users figure out which sites are being assholes about their JS, simply put them on the list of sites for which Privoxy just strips all JS, rather than trying to keep most of it.

      --
      You cannot apply a technological solution to a sociological problem. (Edwards' Law)
  31. Follow this suggestion by Creepy+Crawler · · Score: 1

    Simply set up a proxy server on your network (NOT IN BETWEEN) and then tell people how to set up the proxy server.

    Let users have capability of unmolested connection OR anti-crap proxy filter connection. Everybody's happy.

    --
  32. huh??? by shadow_slicer · · Score: 1

    1. I think I lost you somewhere between the part where pop-up ads became less effective and the part where advertisers buy more of them.
    IANAWebMaster, but I would think that a reduction in the effectiveness of pop-up ads would result in a reduction in the number of pop up ads.

    3. If you want to support a site, then *you* can enable the pop-up ads for that site (not hard on mozilla). Don't force everyone on the internet to view ads for a website that only you may like (that'd be like requiring atheists to recite the "under god" part of the plegde of allegiance--which some fascists seem to think is a good idea...but that's another story).

    2. also, you said "And what happens when websites sue you for denying them income because you blocked their popups?"

    Last I checked websites do not have the right to earn money. Some websites may say that they require you to look at their pop-ups, but those restrictions apply to customers and not to their ISPs (would Girl Scouts of America sue god if it turned out I had joined and wasn't quite female?).

    4. oh and here's the part of the post I like best--where I get to brow-beat you with a mollusk.
    A loopy guy like you deserves his own special subnet. After consulting with numerous shellfish in the field, it was decided that the 127.0.0.0/8 subnet must have been made just for you. (A FULL CLASS A!)

    Don't worry about me though...I'll get along just fine with my 255.255.255.255/0

    --
    void slashbot::dopost(Posttemplate post)
    {
    post.encoding = INTERLACED;
    post.crypt = DOUBLE_ROT13;
    post.submit();
    }

  33. simple by redog · · Score: 1

    You either take control of their computer %100( ex: corporate controlled, they need the BOFH ; I hope you see the stupidity levels involved in the publics usage of well their own drones), advertise at em(same as one just a lucrative corporation) , or provide bulletproof software/support.

    I can use windows, I can keep it healthy; argue with an idiot and you are an idiot. ; but the public is not ready for it so we have a job market for "the computer guy" , side effect of the American economy IMO. I would hypothesis that other countrys general populace enjoy the same benefits but I've never been fortunate enough to leave our borders.

  34. DNS is not bad for a huge ammount. by BuckaBooBob · · Score: 1

    If you Just resolve some domains and sub domains you can get alot of em and speed up your customers connections too... Just beaware of what is underlying what your "Breaking"..

    I doubt anyone you want to find anything in the ads*.doubleclick.com domain :)

    --
    Who needs WiFi when we can have Packet Over Sheep! http://datacomm.org/PoS-InternetDraft.txt
  35. Proxy by epsalon · · Score: 1

    I suggest set up a proxy to do the filtering, and instruct users who want it to configure the proxy. Or, install a transparent proxy and have a proxy to bypass it for users who DO want pop-ups.

  36. thanks for the info by roXet · · Score: 1

    I didn't expect a quick and easy answer to this one, and I didn't get it. I only hoped someone might have figured it out.

    Forcing my users through a proxy server is not going to be an acceptable answer, although the google toolbar may be. I may also think about recommending Pop Up Killer (http://sourceforge.net/projects/puk/).

    The only other solution that I thought of was taking one of the pop-up blocking host files that you find out on the internet and putting that in my dns to point those domains to localhost.

  37. Privoxy of course by NateSac · · Score: 1
    Has any one suggested privoxy over squid? Privoxy has the added benifit of putting a little message at the bottom of the page that says "adds blocked by privoxy" and it's disableable from the user's end, and i can block more than just popups, advertisments too. If you wanted it to be opt in, run privoxy on a seperate port (instead of squid's transparent mode) and make people set thier browser's proxy setting to block proxies, and they have thier choice.

    Be warned no matter what scheme you choose, the user must have the ability to turn of the blocking on the fly, because there will be good websites that any popup blocker will interfere with.

    --
    ::i visited slashdot and all i got was this lousy sig::
  38. Reccomendations are meaningless by poptones · · Score: 1
    Most users are too lazy and/or ignorant to even realize their computer is gradually becoming more and more "broken" because of all the shit that gets force fed to it by their surfing the web with five year old operating systems that have zero security. Even when they have brand new systems they still end up surfing the net as admin with desktop security set to "rape my peecee, please" and so every few weeks have to call someone to "fix" their computer for them. "2.5GHZ and 512MB RAM and your computer is slow? Well gee m'am, I dunno why it's like that... how long ago did you install kazaa?"

    I'm establishing a wireless community network and you damn betcha it's filtered. IPCop at the door, DNS and packet filters, 80GB of localized cache and QOS assurance - no ad domains, no popups, and no p2p apps. We're a small town but there are still other ISPs available even here - if someone wants to run kazaa let'em pay $20 a month for dialup access and leave the rest of us to enjoy our fat, ad-free community. Common carrier status? Tell that nonsense to AOL and MSN...

  39. www.fwtk.org? by emil · · Score: 1

    The old TIS FWTK had a http-gw proxy that could filter out all activex and javascript. It probably wouldn't be too hard to patch the code to filter only the open() call.

  40. Actually, I'd say you got lots of decent ideas by TubeSteak · · Score: 1
    1. Transparently blacklist generalized/malicious junk like double click, gator, web bugs, various other advert networks and drive-by downloaders.

    2. Offer different proxies with multiple levels of popup/junk filtering that your savvy customers can opt-into.

    3. Send out a CD with free versions of Ad-Aware, Spybot S&D, and so on. Or point them to links like the online version of X-Cleaner or one of many online virus scans.

    4. You could also be a real saint and figure out how to put most of the important Windows Updates on CD for your dial-up users and have it automatically do its thang. At a minimum, the Service Packs and Security Rollups will make you their hero.

    5. ???
    6. Profit!!!

    We know there isn't a quick fix solution, but 1 and 2 are eminently doable. I personally use a proggie called AdMuncher(.com) and since Dec. 25th its blocked 13,100 ads/popups/etc and supposedly saved me around 102MB of bandwidth. It ain't free, but goddamn its good (and only 157K).

    --
    [Fuck Beta]
    o0t!
  41. Copyright infringement by RalphSlate · · Score: 1

    What's the difference between you blocking popups, and you substituting "local" advertisements for all banner ads?

    In both cases, you can make the argument that you're making things better for your customers. Instead of showing them popups, or lousy ads that they don't care about, you can put your own ads in there which are probably more relevant. After all, isn't it better to see an ad for the local car dealership than one for Gator?

    Of course, no matter how noble your intentions, you're still committing copyright infringement. You're changing the content of websites without their permission. That's a no-no. Especially when you're profiting from it, either via the new ads sold, or the lack of ads.

    You'd be a lot easier to prosecute than 1 million individual users with popup blockers too.

    Ralph

  42. Google Toolbar by whatsit · · Score: 1

    This story interested me because nearly half of our users have come to us requesting pop-up blocking within the company. We use IpCop as our proxy/firewall for over 100 users. I'm sure someone could rig Dan's Guardian or some content filter out there to do the job, but we have had very good success with Goggle's latest toolbar for IE. The users can keep using the browser of their choice, the toolbar lets them search quickly, and the toolbar blocks popups. We have also blocked the spyware sites that we are aware of by using IPCop's hosts file and have run AdAware on the workstations religiously.

    I'll admit that it is a pain to install the toolbar on 100 machines, but I would like to think that it has saved us the time and agony of making our poor little firewall try to do something it wasn't designed to do in the first place.

    I also realize our corporate user group is not the same as your ISP's user group. You have less control over the machines that access your services. However, you have to remember the KISS principle: Keep It Simple Stupid. If there is software that a user can install to block popups, that puts the choice in their hands. You can recommend the software and even provide an instruction set for doing it. Heck, you could even advertise that, "We will help you stay popup free."

    Anyway, I highly recommend the latest google toolbar. You can download it here.

    --

    user@host:/usr/bin$ whatis ./java
    java: nothing appropriate.
  43. Tips by lordrich · · Score: 1
    OK, a little off-topic maybe, but I got sick and tired with popups and spyware at work today so here's what I did.
    1. Rolled out IE-SPY AD through the user's netlogon scripts.
    2. Slowly adding the worst of the offending sites to the blacklist on our isa servers

    Doing that for a 60 user company is a lot different to doing it for an ISP though, you'll want something like proxomitron but on a much larger scale.
  44. and the blocked count is strangely satisfying.... by kiwi_damo · · Score: 1

    or is that just me?