Code snippet runner
Run code snippets
Stats
Other platforms
Summary
This is an extension so you can run code snippets from different sites on different online interpreters/compilers. You can only run it on your self-defined sites under settings. (And it will maybe not work correctly on all sites). There are some default sites in settings, which you can try.
- First time you may have to allow clipboard pasting on the language site in your browser.
In settings for this extension, you can under the section "Code Snippet Sites" add, which sites (use location.origin for site), you should be able to run code snippets from. Under "Language sites", you can add sites where code should run. So when you visit a site like https://www.php.net/manual/en/function.array-column, there should be a play-button over example code, which you can click to open e.g. https://onlinephp.io/, where the code is inserted and run.
You can see a video that shows how you can use it to run code snippets from ChatGPT on CodePen. https://www.youtube.com/watch?v=5beElSRSBKw
Safety
Risk impact
Code snippet runner is relatively safe to use as it requires very minimum permissions.
Risk likelihood
Code snippet runner may not be trust-worthy. Avoid installing if possible unless you really trust this publisher.
Similar extensions
Here are some Chrome extensions that are similar to Code snippet runner: