This tool allows you to quickly prototype and develop a bookmarklet, aggregate snippets, and write userflow scripts.
use the configurator
npm i -D my-snip
import("my-snip").then(({ default: mySnipt }) => {
mySnipt.loadByLongPress({
file: import("./snippets"),
//everything below is optional
env: { TOKEN: "" },
onlyFromTags: ["BODY", "DIV"],
timeout: 4000,
});
});
"show token"({env}){
alert(env("TOKEN"));
},