Write your bookmarklets in val.town.
You val should just contain your bookmarklet code.
alert("Hi mom!");
Make sure that your val is either unlisted or public, and not named bookmarklets
.
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.
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.