Slashdot Mirror


Mozilla Working On In-Page Popup Blocker For Firefox (androidpolice.com)

Firefox is working on a blocker for annoying in-page alerts that often ask you to input your email address to receive a newsletter from the site. "The feature is still in the planning stages, but Mozilla is asking users for any examples of sites with annoying pop-ups," reports Android Police. "Mozilla wants to make Firefox automatically detect and dismiss the popups." From the report: If you know of sites that use in-page popups (whether it be newsletter signups, surveys, or something else), you can fill out the survey here. There are also Firefox and Chrome extensions that make the process easier. I'll be interested to see how Mozilla pulls this off, it will no doubt be difficult to detect the difference between helpful and not-helpful popups.

19 of 53 comments (clear)

  1. Adblock by 110010001000 · · Score: 1

    I love the "whitelist us" adblock popups. As if I am going to whitelist any site so they can show me ads that can contain god knows what malware.

    1. Re:Adblock by Anonymous Coward · · Score: 1

      My criteria for whitelisting ads in the 90s
      - Don't be distracting

      My criteria now
      - You cover any data bills incurred by downloading your ads. With interest.
      - Static image. Jpg or PNG, no larger than 45,000 pixels total.
      - A one-click function that brings up the ad network, the provider, and whoever paid for the ad. Names, home addresses, and phone numbers.
      - National vetting and region locking for all ads. so that I can sue for bad ads under the laws of my country.
      - The status bar shows where it goes to on mouseover. I want an ad for insurance to go to example.com/insurance, not shittyadnetwork.ru/shdfsdkhivuhirvh937yv973hrv8o73ghrv24v279vh72h4vo7892hfh2ifh29p4fyh.exe
      - A court case over malicious ads ends with fines and jail time.

  2. Be Brave by movdqa · · Score: 1, Interesting

    I'd love to get the best of Brave and Firefox. Bring back Eich!

  3. Helpful Popups by mentil · · Score: 4, Insightful

    it will no doubt be difficult to detect the difference between helpful and not-helpful popups

    There is No Such Difference! Kill 'em all, let FSM sort 'em out.

    --
    Corruption is convincing someone that the selfless ideal is the same as their selfish ideal.
    1. Re:Helpful Popups by Waccoon · · Score: 1

      Virtually every image viewer on the web uses an in-page pop-up.

      The alternative is to resort to "old fashioned" pop-up tactics, like drawing an element off-screen and moving into place on cue, using z-order tricks, making them 1-pixel wide and widening them, etc. There's no way to distinguish between ads and image viewers.

      For now, the only way to detect ads is to weigh the amount of scripting from 3rd-party sources. Whether the element is presented as a pop-up or not is irrelevant.

    2. Re:Helpful Popups by mentil · · Score: 4, Insightful

      Right now Firefox blocks popup windows with a message that the site wanted to open a popup, with an 'open anyway?' prompt and 'ok' button. The same functionality could be reused for in-page popups, with an option to permanently whitelist the site.

      --
      Corruption is convincing someone that the selfless ideal is the same as their selfish ideal.
    3. Re:Helpful Popups by apoc.famine · · Score: 1

      I've been blocking those elements with uBlock for a couple of years now. It takes a couple of filters, to get both the popup, frame, and overlay, but once done for a site it's done.

      I don't see them often now, unless I'm wandering far outside my normal haunts.

      --
      Velociraptor = Distiraptor / Timeraptor
  4. notifications by Anonymous Coward · · Score: 2, Interesting

    Already can be done with about:config. Works about 95% of the time.

  5. Tracking blocking by tepples · · Score: 2

    Sometimes I submit a support request that a website mistakenly detected the tracking protection built into Firefox as an ad blocker. I tell them that I see ads hosted by the publisher,* such as those on Daring Fireball and those on Read the Docs, and sometimes I click ads hosted by the publisher. But I don't blindly accept scripts that allow third parties to insert arbitrary proprietary scripts that track my "click-stream" from one website to another in order to build an interest profile and try to sell me things I just bought. If a site's ad script requires such tracking in order to run, the site needs to fall back to publisher-hosted ads. Even if publisher-hosted ads have a lower CPM than interest-based ads based on tracking, it's still more than the zero that a site gets if I leave after hitting its adblock wall.

    * In the web advertising market, a "publisher" is the operator of a website on which advertisements appear.

  6. When the publisher serves the crap by tepples · · Score: 1

    You're not APK; I can tell because your writing style doesn't match. But I'll quickly answer why his DNS blocklist solution (whether installed locally or through Pi-hole) isn't quite a complete solution by itself:

    Sometimes the publisher itself serves this crap.

    A DNS blocklist works when a third-party script displays the popup. But if the same site (e.g. files.slashdot.org serves both things essential to the website's operation (such as style sheets and images) and the popup script, trying to block it will either throw out the baby with the bathwater or send you back to the Netscape 1 web.

    Furthermore, the syntax of his preferred blocklist format requires listing each individual hostname to block, not all names in a domain. if the third-party script comes from a random subdomain with a dozen or more hex digits that gets resolved by a wildcard in the DNS zone, this sort of blocklist can't handle all possibilities. The Sandstorm application suite already uses random subdomains for session separation.

  7. Re:anti popup blockers by theweatherelectric · · Score: 1

    are able to stop me from reading the page

    You can often just switch to reader view to read the page by clicking the document icon in Firefox's location bar. Firefox doesn't detect a possible reader view for all pages though.

  8. Re: Bad idea by Anonymous Coward · · Score: 1

    As a small business owner, that's bullshit. If a customer doesn't like or trust you, they're not going to give you money. Especially, not if it requires a credit card.

    If you can't compel the prospect without the annoying scripts. You don't deserve to be in business. Confer up with a better pitch, better product and better ads.

  9. Re:Add APK Hosts File Integration by AHuxley · · Score: 1

    How about some GUI for that?
    Mac, Windows, Linux.
    Click on the malware pushing ad and get the nice GUI to ban that from the computer.
    As an app that would be worth something as a lifetime licence per computer, mobile.

    --
    Domestic spying is now "Benign Information Gathering"
  10. Excellent! by bazorg · · Score: 3, Insightful

    A while back I started to get pop ups of this type that clearly identify when I'm about to close the tab (they probably check the mouse movement).
    I imagine it's highly effective in getting attention, but once again (for the millionth time), being inconvenient is not an acceptable way to get attention. Being user-unfriendly like that only leads to continuing an arms race, and I'm happy to see Mozilla working on this sort of thing once again.

  11. Re: Add APK Hosts File Integration by ruir · · Score: 1

    Local BIND name server with RPZ works particularly well for wildcarding.

  12. Re:Position Absolute by ruir · · Score: 1

    add disabling of videos and anti-cut and paste measures, and I will buy whatever you are selling.

  13. Those idiotic players on news sites by hawk · · Score: 1

    I've been using adblock for ages, but it's modern incarnations mostly lack the ability to list lockable elements.

    With that, I am completely unable to block those stupid little players on news sites, such as foxiness, that pop up partway down, and stick around, partly obscuring the test.

    The chances of my walking a video on a news site are about the same as being struck by lightning. Safari is fully successful in blocking them from playing but I want them *gone*.

    While I'm at it, the other lost art is the blocking of page reload javascript--I really don't need pages reloaded every five minutes or even every minutes. I *know* how to reload a page to see if it's changed.

    hawk

  14. Re:Position Absolute by tlhIngan · · Score: 1

    add disabling of videos and anti-cut and paste measures, and I will buy whatever you are selling.

    Well, in Firefox there is an about:config option to ignore AutoPlay settings so videos do not play by default.

    Also, Firefox does allow shift-right-click which bypasses any javascript disabling of right-click menus so you can copy/paste (and do anything else).

    This is one of the key reasons why HTML5 is better than Flash - because a browser is free to disable those features that are annoying. You can't disable autoplay in flash videos other than by blocking, but no one said a browser is obligated to obey the autoplay parameter in a tag. And a browser can ignore fake "clicks" to a play button caused by javascript - it can decide it would only play a video if the browser received a genuine user click.

    Same goes for every other thing you can do in javascript. Firefox lets you force the right-click menu to always display by shift-right-click (works on modern Windows too to get back the system menu with the Move/Minimize/Maximize options if you right-click an app on the task bar - the quickest way to bring a window to the current monitor is shift-right click the app, select Move, hit an arrow key and then jiggle the mouse. The arrow key begins the window move operation, the jiggling the mouse brings the window under the mouse cursor).

  15. Re:Position Absolute by ruir · · Score: 1

    I indeed enjoy how much you can mess up with the setting in Firefox and have indeed disabled autoplaying and image animations, not so in love with it being largely bloated nowadays.