DOM Window Wrapper Update

A quick update to my previous post about creating a DOM window wrapper [https://blog.salsitasoft.com/2014/05/19/wrapping-the-dom-window-object/]. My colleague Tomas [https://github.com/realyze] pointed out that Browserify [http://browserify.org/] breaks if it is running inside the wrapper, due some code [https://github.com/defunctzombie/…

Wrapping the DOM Window Object

In order to enable Kitt [http://www.kitt.com], our iPhone web browser, to run browser extensions, we needed a way to run content scripts in a webpage. In Chrome, content scripts are run in a sandbox to prevent the two contexts from interfering with each other.¬†They share only…