bookmarklets
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
main.tsx
https://vladimyr--1aede8ea277e11f0b46e569c3dd06744.web.val.run
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!");
}
// #bookmarklet
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.
Migrated from folder: a0_forks/bookmarklets