Freitag, 3. Juni 2011

Twitter Toolbar Button for Firefox

Install the Firefox extension:
https://addons.mozilla.org/en-us/firefox/addon/custom-buttons/

Alternative:
https://addons.mozilla.org/en-US/firefox/addon/custom-buttons²

To add new button you should:
* Go into menu View: Add new Button....
OR
* Toolbar right click: Add new Button....

Name: Share on Twitter
Icon: http://twitter.com/favicon.ico
Code: loadURI("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)}());");

Posted in CustomButtons² Database:
http://custombuttons2.com/en/node/1178
Add it directly

Keine Kommentare:

Kommentar veröffentlichen