bookmarklet
This article is a stub. You can help the IndieWeb wiki by expanding it.
A bookmarklet is a web browser bookmark that runs javascript commands on the current page; indieweb bookmarklets are often useful for responding to the current page.
How To
- Bookmarklet editor by Marek Gibney lets you write javascript, execute it, convert it to
javascript:
bookmarklet format, and back to regular javascript format. - Convert bookmarklet to Chrome Extension
IndieWeb Examples
Colin Morris uses a bookmarklet to find and reply to h-entry elements on the current page.
javascript:if (document.querySelector('.h-entry')) { window.open("https://vonexplaino.com/regenerate/reply.php?url=" + encodeURI(window.location.href));} else {child = document.createElement('p');child.style = "width:100%;text-align:center;position:absolute;z-index:4;top:0;color:red;background:white;font-size:xx-large";child.innerText = 'Nope';document.body.appendChild(child);}
Bookmarklets for WordPress
See WordPress Bookmarklets for Desktop
"Bookmarklets" on Android
Not technically a bookmarklet, the application Bookmarklet Free allows to integrate self-hosted publishing flows (e.g. a bookmarking tool or the like) into the default "Share" menu on Android; see Easy IndieWeb interactions on Android
It is also possible to set up a share target for Progressive Web Apps, enabling to "install" a personalised share target on Android (via mxb.dev)
MicroPub Clients
The Quill micropub client offers bookmarklets for bookmarking and favoriting as buttons within the footer of the app.
The Known CMS also offers a bookmarklet from within the "Tools and Apps" section of the settings page. It states: "The Known bookmarklet is the best way to save links, reply to posts, and share articles. Just drag the bookmarklet button below into your browser's Bookmark Bar."
microformats parsing
https://php.microformats.io/ has a bookmarklet to parse microformats on the current page, using the php-mf2 parser
See Also
- https://arcadiamashups.blogspot.com/2009/10/get-current-url-bookmarklet-pattern.html
- A bookmarklet used to provide an edit button on a static web page: https://alexwlchan.net/2021/09/editing-toolbar/