From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Computing / Software (Rated C-class, Low-importance)
WikiProject icon This article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
C-Class article C  This article has been rated as C-Class on the project's quality scale.
 Low  This article has been rated as Low-importance on the project's importance scale.
Taskforce icon
This article is supported by WikiProject Software (marked as Low-importance).


I tried to rewrite the intro to be more clear. Any constructive suggestions or help will be appreciated. John Harvey (talk) 01:16, 9 December 2007 (UTC)

Q&A: How to make a bookmarklet[edit]

Forgive my blatent lack of wiki manners, I am a longtime wikipedia user, but a first time contributor. I want to create a javascript-based link inside my wiki that can be dragged into the Bookmarks bar of the browser. How do I format the wikitext in order to display a "clickable" javascript link on the resulting page, much like Google's examples here?

All of the examples I've seen, including this Wikipedia article, list the raw javascript and advise users to manually create a new bookmark and paste the text into it. That's not user-friendly enough for me (and judging by the comment in this Talk article farther down, not user-friendly enough for other people as well). Any help in correctly formatting the wikitext to display a javascript bookmarklet as a hyperlink would be greatly appreciated.

Please also forgive me if this isn't the approriate place to request this type of assistance. --Beporter 14:39, 27 October 2006 (UTC)

Hi Beporter - you may wish to try posting to one of the Wikipedia:Help desk pages - you'll likely get more eyes on your question there. Specifically, try Wikipedia:Reference desk/Computing. Hope this helps --AbsolutDan (talk) 23:23, 27 October 2006 (UTC)
Many thanks AbsolutDan! For those interested in following this question, you can read my question here: Proper Wikitext to Display a Javascript-only Hyperlink? --Beporter 15:51, 30 October 2006 (UTC)
Sadly that link to your question has long since expired. -- (talk) 13:47, 22 December 2008 (UTC)
Archive link is: Proper Wikitext to Display a Javascript-only Hyperlink?. --Beporter (talk) 17:00, 17 February 2010 (UTC)

The Firefox bookmarklet uses document.getSelection, which no longer works, being deprecated in favor of window.getSelection.

"Wikipedia offers a good introduction, although it gets techie a little bit too quickly" —Wall Street Journal Asia, November 25, 2005

Shoulda read that formatting page better ;)


Oh, you'll get used to it. Despite our best efforts, the wiki formatting syntax isn't too difficult. :) Welcome aboard! --Brion

Those External Link descriptions are uuuuuuuuuuuglyyyyyyyyyyyyyy! -- Zoe

They are very descriptive. --Menchi 22:18, 9 Apr 2004 (UTC)

The example bookmarklet doesn't seem to work.

Is it designed for a specific browser, or is it just written oddly?

Not sure.

Using Safari (mac), and when I C/P it into a link, it doesn't exactly do anything. I'm wondering if breaking it into 2 lines did anything.

"favlets or favelets (the term was invented by Tantek Çelik on 2001-09-06 (personal email))"

Please explain why this is here.

If the term is not used (I never heared it), why is it in the entry?

How can you be sure that guy (women?) invented the term... It's a pretty obvious connection of silables in that context - that lets one suspect that it is *so* uncommonly used, that he was the only one ever using that term in "a personal email"? That sentence sounds strange for an encyclopedia anyways.... Iridos 19:43, 9 August 2005 (UTC)

Could you please explain the example in more detail[edit]


Do you mind do exmplain the examples in more detail.

What I am supposed to do with these lines

--8<---------------cut here---------------start------------->8---

javascript:(function(){q=document.getSelection(); if(!q){void(q=prompt('Wikipedia keywords:',))}; if(q)location.href=''+escape(q)})() --8<---------------cut here---------------end--------------->8---

To save in a file and then make a link to that file or what?


Uwe Brauer

Many bookmarklets no longer work[edit]

Many of the links in this article go to websites which haven't been updated in years, and many of the bookmarklets listed on many of them no longer work. This is because, with each version of Internet Explorer which comes out, microsoft has been weakening the ability of bookmarklets. Earlier versions allowed 2000+ character bookmarklets, the latest version of IE only allows them to be 488 characters in length. According to this page microsoft will be fixing this in IE 7, but for now, many bookmarklets simply don't work anymore. --Xyzzyplugh 01:17, 16 August 2006 (UTC)

508 or 488, IE 6.0 has limits on bookmarklet characters[edit]

better reference I think we should mention this in the article. I was trying to research this very subject.

If you look at the bottom of the page from that link, you'll see "Last modified May 13, 2004", which is ancient by web standards. Lots of the bookmarklets webpages haven't been updated in years. --Xyzzyplugh 02:41, 17 August 2006 (UTC)

External links section[edit]

I have removed the External links section completely, as it contained nothing but links to Bookmarklet products. Wikipedia is not a linkfarm. --AbsolutDan (talk) 13:13, 18 October 2006 (UTC)

Simplifying installation[edit]

I'm adding one-line versions of each example to simplify installation. And noting that usually, on HTML-based non-Wiki pages, bookmarklets can simply be dragged to the Links bar, or Bookmarks Toolbar, for one-step installation. —The preceding unsigned comment was added by Lexein (talkcontribs) 08:24, 18 April 2007 (UTC).

  • I removed the IE-specific instructions previously. Added the link to the "source unknown" Eich quote found here. --Lexein 13:54, 24 April 2007 (UTC)


The term is a portmanteau of the terms bookmark and applet

Is it? I thought the -let suffix is quite common in English, see 'starlet', 'wavelet', etc. (talk) 13:17, 9 January 2008 (UTC)

It's commonly noted around the web that it's a portmanteau, it's tough to say if that's because of this article though. I used a Google search for pages before the year 2000 and found a usage that gave that explanation, albeit in Czech. I added it as a reference and removed the citation needed template. Phette23 (talk) 05:39, 29 March 2013 (UTC)

the one reference[edit]

The one reference actually provided here is an email, in a blog comment. On the reliability scale, its right up there with crazy guy screaming on the corner. The article is going to need something a little more solid than that.--Crossmr (talk) 01:38, 26 November 2008 (UTC)


In an ongoing slow edit war,

  1. examples are added, perhaps even written to sound encyclopedic.
  2. edits are done for "ease of use", which results in a step-by-step guide, which WP is not.
  3. deletions are done, rather than just revertions or rewrites.

One clear example is both necessary and sufficient. The current 'Search Wikipedia' example works in Firefox, Opera, Safari, and is described encyclopedically, and is cited. --Lexein (talk) 15:52, 3 July 2009 (UTC)

External links cleanup[edit]

Cleaning ad-looking external link.

AFAIK, this this page should contain external links to resources about bookmarklets, but not to bookmarklets itself.

For list of links to/and individual bookmarklets should be created a separate page.

Desummoner (talk) 01:31, 7 December 2009 (UTC)

Example bookmarklet not working on Chrome[edit]

Using Chrome 5.0.375.38 beta on Ubuntu 10.04. Clicking the example bookmarklet without selecting any text opens a new Wikipedia search page with nothing in the search box instead of the input dialog. I fixed it for Chrome before (, but it got reverted. What browsers don't work with my version? Blue Em (talk) 10:43, 15 May 2010 (UTC)

IE doesn't know the getSelection function. Amalthea 18:16, 15 May 2010 (UTC)
I Fixed it for Chrome by changing if (!s) to if (!s || s==''). I doubt that will break anything in other browsers. But if it does, feel free to revert it. --Blue Em (talk) 05:45, 6 June 2010 (UTC)

document.selection is not a defined object and fields[0] is undefined in mozilla and chrome (talk) 19:16, 20 May 2015 (UTC)Mark

History of Bookmarklets[edit]

Want more history. What was the first company to use this? In the past few years, a lot of web apps now offer a bookmarklet. I didn't start seeing this until 2007, so I was curious what the first companies were to take advantage of this "favlet" technology. — Preceding unsigned comment added by (talkcontribs) 23:49, 27 April 2011

Tested in IE9[edit]

""^ Tested on Mozilla Firefox, Opera, Safari, and Chrome. Does not work in IE7 or IE8. Original source: Alex Boldt"" Working in internet explorer 9 windows7 — Preceding unsigned comment added by (talk) 08:39, 20 December 2011 (UTC)

Where to publish they and Services which support links with the «javascript:» protocol[edit]

1) There are no services (blogs, url shorteners, etc.) which supports the «javascript:» protocol? If the such services are exists, it is the good idea to add they into the Links section (because it's very hard to find they).

2) We need more services in links, which allow to publish bookmarklets.

applet versus app versus whatever[edit]

", however, an applet is not to be confused with a bookmarklet, just as script written in JavaScript is not to be confused with a script written in Java."

Whatever does this add ? If the reader sees the script as ECMAScript the "confusion" does not exist.

My family name in the USA ( my cousins ) is Shifflet ... should I add "not to be confused with Schiff" ? (unrelated name)

G. Robert Shiplett 13:21, 30 July 2012 (UTC)

Bookmarklets are rare. Applets are scarce, JavaScript supplied server-side is common. It is necessary to distinguish between these, particularly as the name of bookmarklets is derived from the unrelated applet. Andy Dingley (talk) 13:34, 30 July 2012 (UTC)

Translate into actual English?[edit]

Language like "Web browsers use URIs for the href attribute of the <a> tag and for bookmarks" might as well be written in code for the ordinary user. I realize that technical terms require technical terminology; but this one is pretty opaque for the non-programmer layperson. --Orange Mike | Talk 20:38, 20 November 2012 (UTC)

Long quote[edit]

Do we really need the long quote in section History? --Mortense (talk) 09:48, 15 January 2013 (UTC)


Braahma — Preceding unsigned comment added by (talk) 09:36, 6 February 2013 (UTC)