Slashdot Mirror


Firefox 's Ping Attribute: Useful or Spyware?

An anonymous reader writes "The Mozilla Team has quietly enabled a new feature in Firefox that parses 'ping' attributes to anchor tags in HTML. Now links can have a 'ping' attribute that contains a list of servers to notify when you click on a link. Although link tracking has been done using redirects and Javascript, this new "feature" allows notification of an unlimited and uncontrollable number of servers for every click, and it is not noticeable without examining the source code for a link before clicking it."

48 of 575 comments (clear)

  1. Firefox's Ping Attribute: Useful AND Spyware by eldavojohn · · Score: 5, Insightful

    This isn't a question, it's obviously a little of both. Sacrifice some information about the sites you visit to allow those who run the servers (anyone, really) some feedback and statistics.

    It's simply the user's choice as to whether or not the pros outweigh the cons. And I'm sure the massive response that ensues on Slashdot will reveal that everyone values these pros and cons differently.

    Doesn't seem to be much argument other than I think they should have a very simple way to disable this if the user so chooses. As with the iTunes fiasco, I would recommend Firefox be distributed with this option disabled.

    --
    My work here is dung.
    1. Re:Firefox's Ping Attribute: Useful AND Spyware by Stevyn · · Score: 5, Funny

      Nooo! Here in the US, the media polarizes two options and have people in bow ties argue it. You're either in agreement with this idea or totally against it.

    2. Re:Firefox's Ping Attribute: Useful AND Spyware by timeOday · · Score: 5, Insightful
      As with the iTunes fiasco, I would recommend Firefox be distributed with this option disabled.
      I'm racking my brain to imagine why a user would ever want to enable it.
    3. Re:Firefox's Ping Attribute: Useful AND Spyware by heavy+snowfall · · Score: 5, Insightful

      As I see it this will only make it easier to avoid tracking. At the moment tracking links are often obfuscated like this one. With this new attribute and the ability to disable it you get a plain non-tracked destination URL.

      Because of this, and it being mozilla-specific for now, websites that currently use tracking URL's will see no value in switching over.

      As for privacy concerns, it's already quite easy to track people on the web. Those who avoid it now are more in the know and would probably just add this to the list of things to disable.

    4. Re:Firefox's Ping Attribute: Useful AND Spyware by oneiros27 · · Score: 4, Informative
      I would recommend Firefox be distributed with this option disabled
      Which would give web developers no reason to ever bother using it, and they'll continue doing the same little tricks they've been using for years to keep you from seeing that they're tracking the links.

      Take a look at the HTML source on Fark -- you'll see javascript to overwrite the status line so it doesn't show it's tracking you ... and there are hundreds, if not thousands or millions of other sites that do the same.
      --
      Build it, and they will come^Hplain.
    5. Re:Firefox's Ping Attribute: Useful AND Spyware by kawika · · Score: 5, Insightful

      The blog is right that from a user perspective this is good because it makes the target page load faster and makes the tracking transparent. However, this gives the marketer or website even less control than they have now.

      Today, ad or other link tracking is generally handled like this: The link target specifies a tracking page and passes in a magic word or number that specifies the campaign or other info (e.g., "go.php?id=123" or "click.asp?campaign=A1254S"). That page logs the click in some database and issues a redirect to the actual destination page. Sometimes the web server log acts as the "database" and the click stats are processed from the logs.

      With this new scheme, idea is supposed to be that the href target would be the actual destination and there would be no need for the time-consuming redirect. The separate ping attribute would take care of notifying the server similar to what happens today. But now the target page is out in the open for the client to see, and it is not essential to use the ping URL at all! Once users start blocking ping URLs, as they inevitably will, this transparency means that click stats will be very unreliable.

      Since a lot of revenue depends on click numbers, this outcome is bad for commercial web sites. Therefore, very few money links will ever use this scheme and will instead stay with the tried-and-true redirect pages.

    6. Re:Firefox's Ping Attribute: Useful AND Spyware by Art+Tatum · · Score: 4, Insightful

      You were moderated as funny, but it should've been insightful. I have a friend who describes the American political scene as two armies in trenches, shooting at straw men in no-man's-land.

    7. Re:Firefox's Ping Attribute: Useful AND Spyware by dubl-u · · Score: 3, Funny

      Once users start blocking ping URLs, as they inevitably will, this transparency means that click stats will be very unreliable.

      A very small portion of people (including apparently a number of needlessly alarmed people on Slashdot) will bother to turn this off. The vast majority of humanity will continue not to care. This will add a small amount of unreliability to click stats, but that unreliability will be swamped by the normal apparent unreliability of the web caused by different configurations, different browsers, different OSes, different platforms, a wide variety of proxies, and cats chewing on ethernet cables.

      The kinds of people who use these stats seriously already know that they are statistics, not crime scene records.

    8. Re:Firefox's Ping Attribute: Useful AND Spyware by A+beautiful+mind · · Score: 3, Insightful

      Except that there are really one sides and they are employing a huge mirror...

      --
      It takes a man to suffer ignorance and smile
      Be yourself no matter what they say
  2. Consider what may happen by suso · · Score: 5, Insightful

    I think the first thing any browser developer should consider when adding a new tag or tag attribute to the DOM is "How can this be abused?" and explore that question to its fullest. Because all of you know that it will be abused and that users will implement it wrong or find new uses for it that the developers didn't intend. Some of them may be good, some bad.

  3. Required! by Shadow+Wrought · · Score: 4, Funny

    At least for childbirth. Bring in the machine that goes, PING!

    --
    If brevity is the soul of wit, then how does one explain Twitter?
  4. Coming soon to a browser near you: by Whiteout · · Score: 5, Insightful

    One ping-disabling Firefox extension.

  5. Very useful by dada21 · · Score: 5, Interesting

    This feature is extremely useful for any website that wants to give their users better content by parsing what they're going through. It also lets you figure out who is clicking advertisements (which are usually off site) and even gives you the ability to run a multitude of websites but aggregate all the statistics on one of your machines.

    Sure it can be abused -- I don't see why more of these abusive features can't be set up in a whitelist fashion. I'm already shocked that web browsers make it so difficult to white lists sites you feel are safe (or don't mind giving up some information to make your experience better).

    That comes to the point of this post -- how about a standard "setup" logo/button committee that helps create a "setup" web profile that sites can use to give the users options on how they want to be configured? We've got some standard buttons already (RSS feed, etc), why not one that users could be familiar with so that they can white list or opt-in to certain additional "anti-privacy" features?

    I know many websites (including a few of mine) could use more user information, and I don't see why we can't work to just setting a standard for how to do it.

  6. Extension by nes11 · · Score: 4, Interesting

    This is firefox we're talking about. There will be an extension available within the first day to strip out those attributes. Or even more likely a built-in option to not acknowledge them.

  7. It's great! by ivan256 · · Score: 3, Insightful

    Websites can do all that stuff with a redirect script on the server side and the user has no control or knowledge of who is being notified. If site developers start using the ping tag instead we can selectively disable it with an extension. It gives the user control where before there was none.

  8. Submitter is a melodramatic idiot by grahams · · Score: 5, Informative
    1. You are talking about a feature just added to a development tree, not something in a released version of Firefox.
    2. This feature can already be disabled (if you happen to be running a development version) using the 'browser.send_pings' preference.
    3. They didn't "quietly enable" a feature, they did it in front of everyone interested. There are plenty of bugs in bugzilla talking about the implementation of this feature. If you are running a development version of Firefox and can't be bothered to keep up with what is going on in the development community, that's your problem.

    Check out: https://bugzilla.mozilla.org/show_bug.cgi?id=31936 8

    // check prefs to see if pings are enabled
    nsCOMPtr<nsIPrefBranch> prefs = do_GetService(NS_PREFSERVICE_CONTRACTID);
    if (prefs) {
    PRBool allow = PR_TRUE;
    prefs->GetBoolPref("browser.send_pings", &allow);
    if (!allow)
    return;
    }
  9. userContent.css to the rescue by Matt+Perry · · Score: 5, Informative
    Add this to your userContent.css file to make links with the ping attribute have a green border when hovered:
    a:hover[ping]
    {
    -moz-outline: 1px solid green;
    }
    --
    Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
    1. Re:userContent.css to the rescue by booch · · Score: 5, Informative
      That should be:
      a:hover[ping] { -moz-outline: 1px solid green !important; }
      in order to keep the web site from overriding your setting.
      --
      Software sucks. Open Source sucks less.
  10. they're watching.... by to_kallon · · Score: 3, Funny

    as i read the summary i became overcome with fear when the updates are available dialogue popped up at the bottom of my screen. coincidence....?

    --


    The only way to get rid of a temptation is to yield to it.
    -Oscar Wilde
  11. Give me aping. One ping only, please by hkgroove · · Score: 5, Funny

    This will make it easier for Ramius to declare his intention is to defect.

  12. You can already do this with Javascript by dmoen · · Score: 5, Interesting
    I would recommend Firefox be distributed with this option disabled.

    Are you also recommending that Firefox be distributed with Javascript disabled? Because this ping functionality is easy enough to implement in javascript. If ping is disabled by default, then nobody will have it enabled, which means that web developers will continue to do it the old fashioned way, and the ability to disable ping will be worthless.

    Doug Moen.

    --
    I have written a truly remarkable program which this sig is too small to contain.
    1. Re:You can already do this with Javascript by grub · · Score: 4, Informative


      Use the Firefox NoScript extension and you can be selective about what javascript you run on a per-site basis.

      --
      Trolling is a art,
    2. Re:You can already do this with Javascript by Hurga · · Score: 4, Interesting

      Are you also recommending that Firefox be distributed with Javascript disabled?

      I know that I HAVE JavaScript disabled (using the NoScript extension) for this and other reasons, and I don't want to have that functionality back whithout me noticing.

      Hurga

    3. Re:You can already do this with Javascript by TheSpoom · · Score: 4, Interesting

      Why would a web developer use the ping attribute now? AFAIK only Firefox supports it.

      --
      It's better to vote for what you want and not get it than to vote for what you don't want and get it.
      - E. Debs
    4. Re:You can already do this with Javascript by Hard_Code · · Score: 4, Insightful

      Ever heard of cross-site scripting? "ping" needs at the least to be implemented in such a fashion that only the originating site can get a ping. Any pings to non-originating site should either be blocked wholesale or at least present the user a dialog (Site A is attempting to convey information about your browsing to Site B).

      --

      It's 10 PM. Do you know if you're un-American?
    5. Re:You can already do this with Javascript by mrsbrisby · · Score: 4, Insightful
      Consider a simple redirect URL.
      Which can be easily bypassed.

      Bypassed? That may demand definition, for example,

      Where does http://tinyurl.com/161 go?

      How about http://freshmeat.net/redir/cexec/57387/url_homepag e/?

      How do you know without making a URL connection?

      Oh sure, you can ignore links that look like that, and even block them. Nobody's suggesting that you cannot block PING-requested URLs.

      But bypassed? What exactly could you mean by this?
  13. Re:With or without your consent? by ivan256 · · Score: 4, Interesting

    Does this feature track and retain your surfing habits without your consent?

    No.

    Can you not opt-out of it?

    Disable the feature. Easy.

    It's not spyware by your definition. It has the added benefit of giving the user some control instead of being secretly tracked by the server side.

  14. How is this an issue? by Idimmu+Xul · · Score: 4, Insightful

    A lot of websites use redirect pages to get this exact same information, and off the top of my head I imagine it is pretty simple to notify multiple urls of where you are going using some tricky javascript and even cookies and referrers can be used across sites to track visitors. This is just making a very common, and needlessly complex, mechanism infinitely simpler for the web developer.

    --
    The problem with slashdot is that most of its users were bullied and stuffed into lockers as kids!
  15. It's a C-O-N-spiracy by blazerw11 · · Score: 4, Insightful

    So, I don't mean to go all "Senstionalist Title" on your ass, but the post links to a mozilla blog explaining how they've added this feature to the TRUNK. Announcing a new feature in a blog is not quite a press release, but it's a hell of lot more forthcoming that what "quietly added" implies. Also, it's been added to the Trunk, so it's not likely to actually show up in any Mozilla build for a while, much longer, if ever, in a release. This is really the way to add something like this. Put it in to see where and how it will be used and whether that's good or bad.

    --
    A great many people think they are thinking when they are merely rearranging their prejudices. -- William James
  16. RTA by Morosoph · · Score: 4, Informative
    I'm racking my brain to imagine why a user would ever want to enable it.
    So as to avoid expensive and hidden redirects.
    1. Re:RTA by nicklott · · Score: 5, Informative

      but they're not expensive to the user. No website can use this as a primary mechanism in a process as less than 1% of their users will have it enabled. So, it can only be used for things that are optional to the website, for example user tracking. And in this case it actually generates more traffic, as now you just parse your logs (or put an image in, wherein we have a mechanism that does exactly the same thing anyway).

    2. Re:RTA by malsdavis · · Score: 5, Informative

      Firstly they are expensive to the user, as you have to wait for the response to come back before being able to move onto the next page and secondly being expensive for the web server does indirectly effect users.

      Sure your one redirect query may not effect you much but tens of thousands of people doing it could slow a server right down.

  17. Not very useful by everphilski · · Score: 3, Insightful

    1. Javascript does it already

    2. Now you alienate any user using another browser

    3. Mozilla team is pulling an IE (implementing their own extensions... read the blog... "w3c doesn't have to make all the rules" ... if Microsoft said that /. would be up in arms)

    1. Re:Not very useful by Fastolfe · · Score: 4, Informative

      Mozilla team is pulling an IE (implementing their own extensions... read the blog...

      WHATWG != Mozilla

      Mozilla is attempting an implementation of a standard set by an independent standards body. No, they're not the W3C, but like you pseudo-quoted out of context, "w3c doesn't have to make all the rules."

  18. Don't worry yet by courtarro · · Score: 5, Interesting
    "Quietly" refers to Mozilla's inclusion of this feature in the nightly trunk versions, not the official version available for download. That's hardly cause for concern. I'll bet most of the features added to nightlies are "quiet", so that's just a bit of fear mongering. It's a development version! I personally don't like the idea of pings that much, but I'm willing to bet it will have a UI to allow disabling when it's released to the masses. According to the bug request to implement it:

    We should try and do an experimental implementation of , to see if there are any unexpected real-world problems.

    That's what nightlies are for! We now see that it's a controversial tag (and they're probably already well-aware), so they're giving it a shot. Would you rather them just say "no, we don't like that potential standard, so we're not going to try implementing it"?
  19. If it can't be disabled then I'm off by BestNicksRTaken · · Score: 3, Informative

    If this can't be disabled (in preferences, about:config, or easily in the source, or via some extension/Greasemonkey script) then I'm sticking with the current 1.5 build, or possibly off to Opera or Epiphany.

    Jesus if this was put into MSIE then people would be writing to their MP/senator by now!

    I cannot think of any good use for this.

    People who run servers do not need that specific kind of stats, their server logs should be good enough. Only marketing (aka spyware) types would want this kind of info.

    --
    #include <sig.h>
  20. Facts of the matter by Panaflex · · Score: 5, Insightful

    One, this is in the trunk builds - NOT the released versions.

    From a technical POV it's actually nicely thought out, as it separates logically the intended action and the "log."

    I'm sure that Google, Yahoo, and others are BEGGING for this. I've worked in Design and Dev at two of the biggest travel sites - it's a huge problem tracking clicks. If we could remove our tracking javascript then users would get a MUCH snappier web site.

    But we can't because our advertisers specify that we must have third party click/view audits that "verify" our intended audience numbers.

    On the one hand, I know (having designed and built some of the auditing and log analysis systems) that we're tracking every click on our sites. We do use cookies. And the tag would bring it all out in the open instead of buried 3 layers deep in javascript.

    But from an individual POV, it's like acknowledging that they really ARE watching me. And I am now consenting to that.

    Solution: In my mind, the big(and little) sites could offer users the "option" of using the ping tag for a nicer user experience. It would be disabled by default, and a web site would have to specifically request and get permission from the user before the browser would "unlock"

    Just me $0.02

    --
    I said no... but I missed and it came out yes.
  21. Will sites really use this? by Shimmer · · Score: 4, Insightful

    Assuming that IE implements the same feature, will sites use this? If clients can turn it off, I suspect that web sites won't trust it. This is something that is most accurately done on the server, and I think that's where it will stay.

    --
    The most rabid believers in American Exceptionalism are the exact same people whose policies are destroying it.
  22. Re:With or without your consent? by spectrumCoder · · Score: 4, Insightful

    Disable the feature. Easy.

    This kind of misses the point. If Firefox is to become a mainstream internet browser, it needs to be anti-spyware and usable from a clean install onwards. Making it the ideal browser for the tweakers, where it's at its most usable after multiple options have been changed and several extensions installed, is not going to make it the browser of choice for the general public.

    As far as grabbing market share goes, it's the default settings that make the difference.

  23. Possible fix by spitzak · · Score: 5, Interesting

    Why not limit the ping to the server that made the current page? This should prevent people from embedding pings into blogs, and still allow the replacement of redirects for tracking where you go. I would think unless this is done, too many people will disable it for any real sites to use it, and it will *only* be used for nefarious purposes.

    1. Re:Possible fix by RevDobbs · · Score: 5, Informative

      Did you read the article, or the WHATWG spec?

      It specifically mentions:

      1. Links with the "ping" attribute should be diffrentiated from other links.
      2. There should client-side options to control "ping" behavior, similar to current cookie options: "respond to all", "ignore 3rd party", "ignore all".

      FWIW, this really seems dead in the water. First, not too many users will have it enabled (or even available, for that matter). Second, this information is already being reliably collected with cookies, mod_usertrack, javascript, and page redirect tricks -- mostly with no knowledge of the enduser.

      Why go with a little-available, easily disable mechanisim when the tried-and-true method is already available?

  24. Re:How is this different from by Bogtha · · Score: 4, Interesting

    How is this different from the web server logging every page and image you load?

    It's different because web server logs only record what you ask that server for. Web server logs don't record what you ask other servers for.

    This is essentially what the Referer header does, except in reverse. Instead of telling a new server where you have come from, it tells the old server where you are going.

    This is already possible with Javascript, and it was possible with CSS too - I'm not sure if it still is, but the technique was basically to suggest a local background image to style :active links - so when the link becomes :active (when it gets clicked on), the browser downloads the background image and you know the link was clicked.

    --
    Bogtha Bogtha Bogtha
  25. Re:Don't like Firefox spyware? Use Konqueror by grahamlee · · Score: 4, Insightful
    In some instances, it may render web pages even better than Firefox, since Konqueror passed the Acid2 test.

    Acid2 only measures the particular edgecasitis that the Acid2 authors managed to think of - web developers seem capable of introducing many more. What's needed isn't more acid tests but a W3-approved regression suite.

  26. it's all about Google adwords by SethJohnson · · Score: 5, Interesting

    Why would a web developer use the ping attribute now?

    I think the main developer who would want to use it is Google with their adwords program. They're probably trying to minimize the bandwidth those redirects consume for all the clicking that happens on their ads. This is on top of the bandwidth of every page view requesting the ads to be embedded in the first place, which can't be avoided...

    Even if Google can shave off 6% of unneccessary redirects (all Firefox users), that's a big bandwidth savings.

    Seth

    1. Re:it's all about Google adwords by gr8_phk · · Score: 3, Interesting
      "I think the main developer who would want to use it is Google with their adwords program. They're probably trying to minimize the bandwidth those redirects consume for all the clicking that happens on their ads.

      Google gets paid for those clicks on their ads. They don't need to be altering my browser to help their business anyway. As bender would say, Google can bite my shiney metal 4$$. Hopefully distros will patch firefox, so their users won't need to fret about this. Just those windows users who get it straight from the firefox site.

      I've been thinking it's time for a firefox fork that drops the MPL. The dual licensing is preventing integration of other GPLed work - like a built in PDF viewer so we can avoid Adobe. A GPL only fork would help prevent folks like Google from creating their own branded browser with stupid features no user would ever want.

  27. Highlighting links that have a ping attribute by CTho9305 · · Score: 5, Informative

    If you add this to your userContent.css, links that have a ping attribute will be green:

    a[ping] {
        color: green !important;
    }

    You could also do something like this:

    a[ping] {
        -moz-opacity: 0.5 !important;
    }
    a[ping]:hover {
        -moz-opacity: 1 !important;
    }

    so that the links would be transparent until you hover over them

  28. Re:Don't like Firefox spyware? Use Konqueror by jacksonj04 · · Score: 4, Interesting

    This is an important point. An AJAX application will quite merrily send and recieve large quantities of data without you knowing - this is by design. It relies on being able to do things 'behind the user's back'.

    Think of it this way - if you had a popup every time a local application wanted to communicate with the hard disk, how quickly would you become angry?

    --
    How many people can read hex if only you and dead people can read hex?
  29. NoScript will take care of this baby ;) by Giorgio+Maone · · Score: 3, Informative

    I'm already testing and I'm about to release a NoScript version (1.1.3.6) which neutralizes this lovely ping attribute on untrusted sites, and offers also an user-accessible option, not implemented by Firefox (yet?), to disable it globally. I hope this will calm down the tinfoil hats ;)

    --
    There's a browser safer than Firefox, it is Firefox, with NoScript