4 ms·
Thing is, you can't load javascript code... But you can easily write a mini virtual machine to run any code you download from the web. And due to javascript
by londons_explore 3y ago
Thing is, you can't load javascript code... But you can easily write a mini virtual machine to run any code you download from the web. And due to javascripts introspection abilities, that VM can (if the developer wishes) do anything.
The simplest javascript bytecode interpreter is probably only a few hundred bytes, which is easy to hide in a big extension.
- rektide 3y agoThose sidesteppings are outlawed by the Chrome Web Store policies. There are JS-in-JS interpreters out there. They're just not allowed. https://github.com/jterrace/js.js/ https://github.com/jterrace/js.js/ https://github.com/marten-de-vries/evaljs https://github.com/marten-de-vries/evaljs