Oct 19, 2018
danielbahl
Awesome Shortcut, thanks for posting :)
Use the console in Safari to debug websites. Perfect for web-developers.
Credit goes to this Reddit Post
Video attached:
First release
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#include 'actions/web'
#include 'actions/crypto'
#define color lightblue
#define glyph gear
base64Encode(nil)
url("data:text/javascript;base64,{}")
// TODO: Get Variable not supported: Assign variable here to 'ShortcutInput'.
runJavaScriptOnWebpage("javascript:(function(){let script = document.createElement(\"script\");\nscript.src = \"{}\";\ndocument.body.appendChild(script);})();\nresult = \"\";\ncompletion(result);")
Awesome Shortcut, thanks for posting :)