Twiit Bookmarklet

This new code still solves the problem of allowing you to provide context for your tweet or other form of sharing - and also integrates flexibility amongst using shortened URLs or not, and which shortening service to use. It can be used as a stand-alone script, or as a bookmarklet. The bookmarklet still captures the link, title, and any selected text on the page you want to share. It can be set to automatically forward to Twitter, or to stay on the helper popup. In the case of the latter, there is still a button that allows you to forward the link, title, and any selected text to Twitter where you handle editing and the character count.

The beauty of this approach is - if you don't want to share on Twitter, or also want to share on other sites, you can get the code needed to post on MySpace or Facebook or by email or on sites that use BBCode. Here is the bookmarklet. As usual - drag it to your Bookmarks or Links bar, or simply bookmark it.

As always, the bookmarklet is a simple link that contains javascript. You click it whenever you're on a web page that you want to share. Again, I offer no appologies or warranties. Take it and make it yours if you like it. Or just use the bookmarklet here and let me know how it works.

Source (myopiclunacy.com)


Download Bookmarklet:


View Bookmarklet Code:

Bookmarklet Source Code:

javascript%3Avoid%28open%28%27http%3A//www.myopiclunacy.com/twiit.php%3Fnoautotweet%3Dnoautotweet%26title%3D%27+encodeURI%28document.title%29+%27%26text%3D%27+encodeURI%28document.selection%3Fdocument.selection.createRange%28%29.text%3A%28window.getSelection%3Fwindow.getSelection%28%29%3A%28document.getSelection%3Fdocument.getSelection%3A%27%27%29%29%29+%27%26url%3D%27+encodeURI%28location.href%29%2C%27twiit%27%2C%27scrollbars%3Dno%2Cwidth%3D800%2Cheight%3D550%2Ctop%3D15%2Cleft%3D75%2Cstatus%3Dyes%2Cresizable%3Dyes%27%29%29


Rate it:


Tags:

Comments

Comments so far. Add yours.