I noticed I couldn’t use the dark mode bookmarklet, and discovered it is due to the percent signs.
Steps to reproduce:
- Create a bookmark
- Change address to
javascript: (() => { alert("HI%"); })()
- Try it on a webpage, and see that it fails to alert.
- Change address to
javascript: (() => { alert("HI"); })(), by removing percent sign.
- Try it on a webpage, and see that it alerts with HI.
Expected behavior:
Should work the same as pasting the JS into the console, which still works.
Orion, OS version; hardware type:
Version 0.99.124.4.1-beta (WebKit 616.1.14.11.1)
MacBook Pro (macOS Ventura 13.4 build 22F66)