Share Bookmarklet

Updated on Wed, 2014-02-12 17:33

Overview

The Share Bookmarklet makes it easy for you to share any webpage on Twitter, even if there isn’t a Tweet Button. It works in all major browsers and is easy to install.

Screenshots of the Share Bookmarklet in action

Getting the Bookmarklet

To use the bookmarklet just drag the Share on Twitter button to your Bookmarks Bar, browse for a page you like and then click it. The Bookmarks Bar is also known as the Favourites Bar or the Bookmarks Toolbar. In some browsers you may need to go to your View menu to choose to show it.

Using a device which doesn’t support drag and drop?

The Share Bookmarklet can also be created manually. To create the Share Bookmarklet you need to copy the code below into the URL field of a new bookmark.

  1. javascript:(function(){window.twttr=window.twttr||{};var D=550,A=450,C=screen.height,B=screen.width,H=Math.round((B/2)-(D/2)),G=0,F=document,E;if(C>A){G=Math.round((C/2)-(A/2))}window.twttr.shareWin=window.open('http://twitter.com/share','','left='+H+',top='+G+',width='+D+',height='+A+',personalbar=0,toolbar=0,scrollbars=1,resizable=1');E=F.createElement('script');E.src='http://platform.twitter.com/bookmarklets/share.js?v=1';F.getElementsByTagName('head')[0].appendChild(E)}());

Own your own webpage?

If you own a webpage and would like to provide a Tweet Button for your users instead of relying on them having the bookmarklet, take a look at our Tweet Button Goodies page!

Having problems?

We’ve tested in the most popular browsers and have no known issues, but if the bookmarklet isn’t working you should check your popup blocker settings. You may have a custom toolbar which is stopping the Share Box from working.