On-The-Fly
I think this is kind of interesting. I wrote a simple Scriptonite app with a link that prompts for an on-the-fly JavaScript expression to execute. You can use it like a calculator.
Even more weird and interesting is another link demonstrating how to leverage this same code to write a temperature conversion app by putting JS code into a URL parameter.
Jul 12 · 3 months ago
2 Comments ↓
🦊 Sophira · Jul 12 at 23:45:
Please be careful with this. Evaluating untrusted user-generated code server-side seems like it could end super badly.
🦎 bluesman [OP] · Jul 13 at 05:45:
The code is sandboxed. There's more detail in my other posts.
Source