Created
November 22, 2014 08:10
-
-
Save nealjin/9577d3e392b022267d90 to your computer and use it in GitHub Desktop.
页面插入dom片段及script
This file contains hidden or 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
| document.write(unescape('%3Cdiv id="dom"%3E%3C/div%3E%3Cscript charset="utf-8" src="http://www.xxx.com/script.js') + | |
| '&url=' + (encodeURIComponent(window.location.href)) + | |
| '&t=' + (Math.ceil(new Date() / 3600000)) + unescape('"%3E%3C/script%3E')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment