Created
January 20, 2016 20:34
-
-
Save jstxx/97cdbbf6293a5d18e138 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
var _write = document.write; | |
document.write = function(t) { | |
t = '<!--##DEFER'+t+'DEFER##-->'; | |
return 'v'=='v' ? _write(t) : _write.call(document, t); | |
} | |
})(); | |
function resolve() { | |
document.body.innerHTML = document.body.innerHTML.replace(/<!--##DEFER(.+)DEFER##-->/g, '$1'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment