MyTube - Limit the Privacy Risks of Embedded Video

Including embedded video content on your website creates some privacy risk, allowing the party that hosts the video to record information about your visitors and place cookies in their browser. This usually happens as soon as a visitor loads a webpage, whether or not they actually click to play the video.

In 2008, EFF created a script called MyTube to limit these risks. It uses JQuery javascript to prevent a website visitor's client from connecting with a third-party video-host until the visitor explicitly opts-in by clicking on the play button.

MyTube works with almost every web-video host, whether an all-purpose host like YouTube or Vimeo, or a host specific to a TV show or content-owner like The Colbert Report or MSNBC.

You can see the script in action here and here.

MyTube was originally implemented as a module for Drupal 5, the content management system that powers In 2010, students at the Ohio State University Open Source Club published substantial upgrades to the software, including a version for Drupal 6.

You can learn more on Deeplinks.

The most recent version can be found on the Drupal site at

Related Issues

Stay in Touch

NSA Spying

EFF is leading the fight against the NSA's illegal mass surveillance program. Learn more about what the program is, how it works, and what you can do.

Follow EFF

Censorship powers, data retention, and vague hacking crimes: Pakistan's terrible cybercrime bill has it all:

Nov 25 @ 5:11pm

While Bangladesh blocks social messaging apps, locals are turning to Tor and Twitter:

Nov 25 @ 3:50pm

You've heard recent news about Securus, the prison phone service. It's also the proud owner of a very stupid patent.

Nov 25 @ 3:09pm
JavaScript license information