My collection of bookmarklets, plus blm, a small CLI for building and managing them.
Gallery: https://daydve.github.io/ddblm/
A bookmark that runs JavaScript instead of opening a URL. Click it and the script runs on the current page. No installation, no permissions, no extension store.
| File | Label | What it does |
|---|---|---|
copy.js |
Copy element text | Copies the text of any element on click |
ddg.js |
Search on DuckDuckGo | Re-runs the current search query in DuckDuckGo |
edit.js |
Edit mode | Toggles designMode to edit text on the page |
kpfinder.js |
KPFinder | Searches Kinopoisk for movies (API token required) |
logins.js |
Search logins/passwords | Looks up site logins on BugMeNot and Google |
mdpick.js |
Export to Markdown | Saves selected page blocks as Markdown: to the clipboard or to a file |
passwords.js |
Show passwords | Reveals passwords hidden behind asterisks |
qr.js |
QR | Generates a QR code for the current page |
safeselect.js |
Safe select | Disables links so text can be selected over them |
telegram.js |
Send to Telegram | Sends the link or selected text to Telegram |
undisable.js |
unDisable element | Force-enables disabled elements |
unlock.js |
unlock right click | Removes selection and right-click restrictions |
wback.js |
WBack Machine | Wayback Machine menu: archive, latest, save |
- Open the gallery.
- Enable the bookmarks toolbar (
Ctrl+Shift+Bin Firefox). - Drag a card (icon + name) onto it.
If a bookmarklet requires an API token, enter it in the card's field before dragging.
The gallery UI is bilingual: English by default, ?lang=ru for Russian.
The bookmarklets are plain JavaScript and should work in any browser that supports javascript: bookmarks. Only Firefox has been tested.
The extras (custom toolbar icons and the userChrome.css theme) are Firefox-only.
src/ Bookmarklet sources
icons/ SVG icons (24×24, theme-adaptive)
templates/ Scaffolding for new bookmarklets
docs/ Build output (GitHub Pages)
blm The CLI
Every src/*.js file starts with metadata comments:
// @label: Copy element text
// @desc: Позволяет скопировать текст любого элемента по клику
// @desc-en: Copy the text of any element on click
// @icon: copy_element_text.svgOptional fields: @token, @token-desc, @token-desc-en, @token-link.
@desc is the Russian description; @desc-en is the English one. If @desc-en is missing, @desc is used for both languages.
Requires Python 3.8+. No other dependencies.
./blm build # src/*.js → docs/index.html + docs/blm_panel.css
./blm list # list bookmarklets
./blm add <name> # scaffold a new bookmarklet from the template
./blm edit <name> # open in $EDITOR
./blm rm <name> # delete
./blm config # print / set / get / reset
./blm patchff # symlink icons and CSS into the Firefox profile
./blm get # git pull
./blm put -m "msg" # build + commit + pushStored at ~/.config/blm/config.json:
| Key | Description |
|---|---|
ff_profile |
Firefox profile path |
editor |
Editor used by blm edit |
author |
Author name for new bookmarklets |
patch_icon.py: patches Inkscape SVGs for Firefox light/dark themefirefox_rdp_proxy.py: proxy for the Firefox Remote Debugging Protocol
MPL-2.0 © DayDve