Skip to content

Instantly share code, notes, and snippets.

@nelix
Created November 23, 2012 02:21
Show Gist options
  • Select an option

  • Save nelix/4133742 to your computer and use it in GitHub Desktop.

Select an option

Save nelix/4133742 to your computer and use it in GitHub Desktop.
Jetpack/worker window function hack
let win = require("window-utils").windowIterator().next();
let {Cc, Ci} = require("chrome");
let window = win.QueryInterface(Ci.nsIDOMWindowInternal);
//window.atob, window.FormData, etc etc...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment