How do we keep this site running? This post may contain affiliate links — the cost is the same to you, but we get a referral fee. Compensation does not affect rankings. Thanks!
A bookmarklet is basically a software application for your browser. But what bookmarklets are most known for is their ability to run a website script from anywhere – in other words, the application is loaded in the browser, and doesn’t have to be called from a particular web page. For example, if you visit our URL shortcut creator, LinkTh.at. You’ll see a bookmarklet which will let you create shortcuts from any webpage, instantly – without having to copy the URL, leave the page, and enter it into the form on LinkTh.at. This creates a huge convenient to clients and proves to be a big time saver. Note: Our URL shortcut service LinkTh.at has been closed due to abuse; we recommend Bit.ly instead. Bit.ly provides a way to save your URL shortcuts, view analytics, and more.
How Do I Create a Bookmarklet?
Developers are often interested in creating bookmarklets for their website applications or forms, as it will allow clients to use their service without having to load their website in a separate window. Common popular services that take advantage of the powers of a bookmarklet include del.icio.us, digg, and other social media networks, as well as various websites running scripts. We’re going to show you the fundamentals to creating your own bookmarklet script.
As an example, we call
Advanced: For bookmarklet scripts that only accept POST submissions, you’ll have to create an invisible form and submit it like so: