JavaScript engine interception?
Posted: Wed Jun 02, 2010 3:28 pm
Hello there,
I love NoScript and RequestPolicy. These are my favourite addons of which I have many. I just have one request.
I really would love to be able to customize the JavaScript DOM that an executing script can use. I have been reading the GreaseMonkey code and it seems it runs the script in a sandbox on the page. It does not intercept the actual javascript calls itself.
The reasons I would like to do this is to:
I love NoScript and RequestPolicy. These are my favourite addons of which I have many. I just have one request.
I really would love to be able to customize the JavaScript DOM that an executing script can use. I have been reading the GreaseMonkey code and it seems it runs the script in a sandbox on the page. It does not intercept the actual javascript calls itself.
The reasons I would like to do this is to:
- Intercept access to window.screen, navigator, java object, navigator.plugins, document.referrer, mimetypes and make them inaccessible
- Turn off the eval function