Logs your global variables to the console
Useful for finding leaked global variables.
Can be used as a bookmarklet or a DevTools snippet.
javascript:console.log(function(){var a=document.createElement("iframe");a.style.display="none";document.body.appendChild(a);var c=a.contentWindow;document.body.removeChild(a);var a=Object.create(null),b;for(b in window)b in c||(a[b]=window[b]);return a}())
MIT © Sindre Sorhus