Skip to content

Instantly share code, notes, and snippets.

@bloodyowl
Last active January 3, 2016 12:09
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bloodyowl/8460661 to your computer and use it in GitHub Desktop.
Save bloodyowl/8460661 to your computer and use it in GitHub Desktop.
global leaks
;(function(win){
var doc = win.document
, i = keys(doc.body.appendChild(doc.createElement("iframe")).contentWindow)
return keys(win).filter(function(a){return i.indexOf(a) == -1})
})(window)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment