As noted in #364078: Privacy concern: AddThis apparently putting flash tracking object on sites, AddThis has been adding a tracking flash object to the TOP of pages. As of early October, the added object looked like this:

<div>
  <object height="1" width="1" id="atff" data="//bin.clearspring.com/at/v/1/button1.6.swf" type="application/x-shockwave-flash">
    <param name="wmode" value="transparent"/>
    <param name="allowScriptAccess" value="always"/>
  </object>
</div>

The above code is not visible in Firefox by viewing source, but can only be seen via Firebug.

This annoyance presented itself as a 1px by 1px Flash object that showed up in the top left corner, but it broke my theme with a ~15 px margin that thus pushed the entire layout of the page down by a few pixels.

As noted in #364078: Privacy concern: AddThis apparently putting flash tracking object on sites, this is legitimate for AddThis to do, and furthermore if it's not desired then it can be turned off in Drupal 6 with a new feature implemented in the Drupal AddThis module v2.7.

However, that solution is only for Drupal 6. Legacy Drupal 5 users have no choice but to either (a) manually upgrade the module to reflect the changes in the Drupal 6 version of the module (to truly remove the flash object), or (b) use a CSS trick to hide the flash object (cosmetic theming only, doesn't prevent any invasion of privacy if that's what you're concerned about).

The CSS trick is simple:

#atff {
  display: none;
}

If anyone has any other Drupal 5.x solutions, please do post them here.

Comments

vesapalmu’s picture

If anyone backports this to 5.x version of the module I'm happy to commit it.

digitalpbk’s picture

A better fix than hiding is to remove the tracking swf. Apparently in the module in drupal 6 does this by adding
addthis_disable_flash = true;
to the javascript settings. I have fixed it. I have posted details in here Remove Flash Tracking from AddThis module on Drupal 5

Just one line change.

@wesku: can you edit and commit ?

digitalpbk’s picture

vesapalmu’s picture

Category: bug » feature

It's not a one line fix, but not a very difficult one either. Some people actually want to have this tracking feature enabled so it's better to create a setting for it just like in the D6 version of the module. Unfortunately I don't have enough time to add any new functionality to D5 version any more with D7 version of the module already just around the corner. The D5 version is still supported and bugs in it will be fixed. If you want any new functionality backported to D5 version you can create a patch for it and I'm happy to review and commit it.

The fix that digitalpbk provided will work if you just want to disable the flash tracking, but it's not a general solution for everybody.

vesapalmu’s picture

Status: Active » Needs work

This is still waiting for a patch to 5.x version.

gisle’s picture

Status: Needs work » Closed (outdated)

Drupal 5 is outdated and the version for Drupal 5 is no longer maintained.