Created
May 12, 2011 21:00
-
-
Save mexitek/969435 to your computer and use it in GitHub Desktop.
Made this hack to display the failed attempt at securing a JS service
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
<!-- // Include their JS service --> | |
<script src="http://www.websnapr.com/js/websnapr.js"></script> | |
<script> | |
// Use this function instead of wsr_snapshot() | |
function wsr_snapshot2(url,key,size,link){ | |
link=typeof(link)!='undefined'?link:1; | |
if(size==''||size==undefined){size='s'}; | |
var src="http://images.websnapr.com/?size="+(size.toLowerCase()=='t' || '' ?'t':'s')+ | |
"&key="+encodeURIComponent(key)+ | |
"&hash="+encodeURIComponent(websnapr_hash)+ | |
"&url="+encodeURIComponent(url); | |
document.write('<div style="overflow:hidden;height:142px;"><img src="'+src+'" border="0" /></div>'); | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment