Bookmarklet
A bookmarklet is a bookmark stored in a web browser that contains JavaScript commands that add new features to the browser.[src] They are stored as the URL of a bookmark in a web browser or as a hyperlink on a web page.[src] Bookmarklets are usually small snippets of JavaScript executed when a user clicks on them.[src] When clicked, bookmarklets can perform a wide variety of operations, such as running a search query from selected text or extracting data from a table.[src] Another name for bookmarklet is favelet or favlet, derived from favorites (synonym of bookmark).[src]
A bookmarklet is a bookmark stored in a web browser that contains JavaScript commands that add new features to the browser.[src] They are stored as the URL of a bookmark in a web browser or as a hyperlink on a web page.[src] Bookmarklets are usually small snippets of JavaScript executed when a user clicks on them.[src] When clicked, bookmarklets can perform a wide variety of operations, such as running a search query from selected text or extracting data from a table.[src] Another name for bookmarklet is favelet or favlet, derived from favorites (synonym of bookmark).[src] Web browsers use URIs for the href attribute of the tag and for bookmarks.[src] The URI scheme, such as http or ftp , and which generally specifies the protocol, determines the format of the rest of the string.[src] Browsers also implement javascript: URIs that to a parser is just like any other URI.[src] The browser recognizes the specified javascript scheme and treats the rest of the string as a JavaScript program which is then executed.[src] The expression result, if any, is treated as the HTML source code for a new page displayed in place of the original.[src] The executing script has access to the current page, which it may inspect and change.[src] If the script returns an undefined type (rather than, for example, a string), the browser will not load a new page, with the result that the script simply runs against the current page content.[src] This permits changes such as in-place font size and color changes without a page reload.[src] An immediately invoked function that returns no value or an expression preceded by the void operator will prevent the browser from attempting to parse the result of the evaluation as a snippet of HTML markup: javascript:(function(){ //Statements returning a non-undefined type, e.g.[src] assignments })();[src]
20 sentences · 20 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Bookmarklet." encyclopegia.org, 2026, https://encyclopegia.org/wiki/bookmarklet. Accessed 25 November 2026.
Chicago
"Bookmarklet." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/bookmarklet.
APA
encyclopegia.org. (2026). Bookmarklet. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/bookmarklet
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON