Skip to content

Instantly share code, notes, and snippets.

@kainlite
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kainlite/b3a35c9ef801974cc056 to your computer and use it in GitHub Desktop.
Save kainlite/b3a35c9ef801974cc056 to your computer and use it in GitHub Desktop.
(function () {
var content = 'setTimeout(function () {' +
'keys = Object.keys(document.getElementById("contentBody").contentDocument.getElementById("rawContent").contentDocument.defaultView.window.messages);'+
'console.log(keys);'+
'}, 5000);';
var s = document.createElement("script");
s.type = "text/javascript";
s.text = content;
document.head.appendChild(s);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment