Contents:
What is a bookmarklet?
A bookmarklet is a small piece of JavaScript code, which you can save as a bookmark.
In the context of TW, they can be thought of as plugins saved in the browser, independent of TiddlyWiki documents themselves. Having the code saved as a bookmark can be convenient, as you can use it on all of your TiddlyWikis without needing to install it as plugin in each one.
Using a bookmarklet
To use a bookmarklet in one of your TiddlyWikis, just click the bookmark for it while having your TiddlyWiki open.
Saving a bookmarklet
To save a bookmarklet, you can just drag it to the Favourites or Bookmarks toolbar in your browser. Alternatively, you can right-click it and save it as a bookmark, as you would for any other link.
For convenience, you might wish to group all your TiddlyWiki bookmarklets in one folder.
The Bookmarklets
Editing
- EnableEdit
- Enables editing on an online TiddlyWiki without the need to reload. Also disables animations, and enables backstage functionalities.
- SetUserName
- Changes all tiddlers’ “modifier” to the specified value.
- RenameTag
- Renames all occurrences of a tag.
- DeleteAllTagged
- Deletes all tiddlers with the specified tag.
- ViewShadow
- Displays the default contents of a shadow tiddler.
Rescue and Maintenance
- NukeShadows
- Restores all shadow tiddlers to their default values.
- SafeMode
- Reloads the current document in safe mode.
- SuperSafeMode
- Reloads the current document in safe mode and reset all shadow tiddlers.
- NukeAllCookies
- Deletes all cookies for the current document.
- ScrubTiddlerFields
- Deletes all extended fields from a TiddlyWiki. (by Jeremy Ruston)
Miscellaneous
- TiddlyInfo
- Displays the current document’s version number and last-modified date.
- RescueRawTWContent
- Opens a new window containing the raw content of the current document. (by Jeremy Ruston)
- ViewTiddlerAsHtml
- Displays a tiddler as raw HTML.
- ViewTiddlerAsJs
- Displays a tiddler as a JavaScript string (e.g. for developers to use as shadow tiddler).
- PublisherMode
- For use with PublisherPlugin; reloads file in specified viewing/editing mode.
Feedback and suggestions for bookmarklets are most welcome.