0.0.4 • Published 12 years ago
greasemonkey-unsafewindow-proxy v0.0.4
Greasemonkey-unsafeWindow-Proxy
Workaround library for unsafeWindow ( Firefox 30 ~ )
See detail on
This library provide proxy object used by new Proxy(unsafeWindow).
Usage
var contentScriptObject = {"greeting" : "hello from add-on"};
unsafeWindow.contentScriptObject = cloneInto(contentScriptObject, unsafeWindow);
// ==
var win = unsafeWindowProxy(unsafeWindow);
var contentScriptObject = {"greeting" : "hello from add-on"};
win.contentScriptObject = contentScriptObject;Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
License
MIT
0.0.4
12 years ago