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?"

23 of 108 comments (clear)

  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 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.
  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.

  3. 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."
  4. 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
  5. 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).

  6. 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.
  7. 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 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.
  8. 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.
  9. 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.

  10. 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... ;)

  11. 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
  12. 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.

  13. 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.)
  14. 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

  15. 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.
  16. 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
  17. 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.

  18. 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.

  19. 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)