json-editor
workerbox
json-editor | workerbox | |
---|---|---|
1 | 5 | |
5,791 | 124 | |
- | - | |
10.0 | 5.6 | |
about 6 years ago | 10 months ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
json-editor
workerbox
-
Show HN: Run unsafe user generated JavaScript in the browser
It's a really good question, and I originally [0] actually had some code that would randomise the sub domain. You can still do this if you host it yourself.
But I think it's probably not nessisary so long as your users are not using indexDB (or any other data storage on that domain), as there should be no other way for the web workers to communicate with each other.
0. https://github.com/markwylde/workerbox/blob/master/lib/index...
What are some alternatives?
caja - Caja is a tool for safely embedding third party HTML, CSS and JavaScript in your website.
determine-basal-native
jailed - execute untrusted code with custom permissions
vm2-process - Execute unsafe javascript code in a sandbox
quickjs-emscripten - Safely execute untrusted Javascript in your Javascript, and execute synchronous code that uses async functions
proposal-shadowrealm - ECMAScript Proposal, specs, and reference implementation for Realms
SES-shim - Endo is a distributed secure JavaScript sandbox, based on SES
proposal-compartments - Compartmentalization of host behavior hooks for JS