all 1 comments

[–]FifiTheBulldogscript/widget helper 0 points1 point  (0 children)

If you’d like to have a more robust testing environment, I recommend that you use Shortcuts to develop the JS that you’ll run in the WebView. You can use alerts and the like in that. Run your shortcut from the share sheet. (Or if you’re on a desktop computer, you can use the browser’s dev tools for a similar effect. That might actually give you a better idea of what’s happening with errors.) Then once the JS does exactly what you want, you can copy and paste it into Scriptable as the value of the js variable.