Comment by 🦊 Sophira

Re: "On-The-Fly"

In: u/bluesman

Please be careful with this. Evaluating untrusted user-generated code server-side seems like it could end super badly.

🦊 Sophira

Jul 12 · 3 months ago

1 Later Comment

🦎 bluesman [OP] · Jul 13 at 05:45:

The code is sandboxed. There's more detail in my other posts.

Original Post

🦎 bluesman

— On-The-Fly

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.

💬 2 comments · Jul 12 · 3 months ago


Source