Skip to content

Instantly share code, notes, and snippets.

@0xWDG
Created November 24, 2016 19:53
Show Gist options
  • Save 0xWDG/73251a31f3b1fec6b3493192e2936e31 to your computer and use it in GitHub Desktop.
Save 0xWDG/73251a31f3b1fec6b3493192e2936e31 to your computer and use it in GitHub Desktop.
function r(f){/in/.test(document.readyState)?setTimeout('r('+f+')',9):f()}
//Usage:
r(function () {
// Code here
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment