Usage
- Choose 👀 a bookmarklet
- Familiarize yourself 💾 with its source
- Tweak paramteres 🛠 if needed
- Test it 🧪 by clicking link
- Drag'n'drop ⭐️ the link onto your bookmarks bar
Alerts "Hello, World"
() => { window.alert("Hello, World!"); }
Use keyboard instead of mouse for playing Morse code sounds on https://morsecode.world/international/morse.html
() => { const tiles = [...document.querySelectorAll(".morse.tile")].reduce((map, tile) => { map[tile.innerText.toLowerCase()] = tile; return map; }, {}); window.addEventListener("keypress", (e) => { var _a; (_a = tiles[e.key]) == null ? void 0 : _a.click(); }); }
Calculates β average for Pessimistic, Realistic, and Optimistic estimations
(options) => { const [o, r, p] = window.prompt(options.prompt, "").trim().split(/[^\d]+/).map((s) => parseInt(s, 10)); const dec = 10 ** parseInt(options.precision, 10); const beta = Math.round(dec * ((p + 4 * r + o) / 6)) / dec; window.alert(`PERT \u03B2 = ${beta}`); }