This is the bookmarklet for Breadcrum.net.
npm install bookmarklet
import getBookmarklet from '@breadcrum/bookmarklet'
const bookmarkletText = getBookmarklet({
TARGET_URL: 'breadcrum.net',
WINDOW_TITLE: 'Breadcrum'
})
Returns the bookmarklet text with simple runtime customizations so that environments can fix hard-coded variables.
esbuild
used used to build standard, modular esm code into a minified iffi
target, and then the reults are stored in a json document that gets customised with .replaceAll
in the exported getBookmarklet
function.
This bookmarklet was based off of the following resources:
MIT