Write your bookmarklets in val.town.
You val should export an anonymous function, containing the code that will run when the bookmarklet is triggered.
export default () => {
alert("Hi mom!");
}
Make sure that your val is either unlisted or public, then navigate to https://pomdtr-bookmarklets.web.val.run/v/:author/:name
to generate the bookmarklet link.
Make sure that your val is public, and add a #bookmarklet
tag anywhere in the code.
export default () => {
alert("Hi mom!");
}
It should automatically appears on https://pomdtr-bookmarklets.web.val.run.
⚠️
If you are using the Arc Browser, you can use the Powerlet extension to install bookmarklets.