Created
December 12, 2014 20:30
-
-
Save rosscooperman/1c2611ae053cc8e34ff8 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
<html> | |
<body> | |
<a href="http://www.movable-ink-7158.com/p/rp/c22a225436ed389e/url" style="display: block;"> | |
<img alt="Display images to show real-time content" border="0" src="http://www.movable-ink-7158.com/p/rp/c22a225436ed389e.png" style="border: 0; display: block;" /> | |
</a> | |
<script> | |
var params = window.location.search.replace(/^\?/, '').split('&').map(function(str) { return str.split('=') }); | |
for (var param in params) { | |
if (param[0] == 'mi_u') { | |
var images = document.getElementsByTagName('img'); | |
for (var image in images) { | |
image.src += '?mi_u=' + param[1]; | |
} | |
} | |
} | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment