News for hackers. Stuff that matters.
Re:How to prevent screenshots in a web browser by abbeyj on Monday July 14, 2014 @01:33PM (#8032072)
As a challenge I wanted to see how hard it would be to circumvent this. Here's a bookmarklet: javascript:void(function(s,i){for(i=0;i<s.length;i++)if(window.getComputedStyle(s[i]).color=='transparent')s[i].style.display='none'}(document.getElementsByTagName('span')))

That should be one line with no spaces if gets line wrapped.

Re:How to prevent screenshots in a web browser by nbush on Monday July 14, 2014 @02:06PM (#8032277)
Nice work! Here's another solution posted in an earlier thread: javascript:d=document.createElement("div");d.innerHTML="<style>span:nth-child(odd) {display:none;}</style>";document.body.appendChild(d);

I don't think there's any easy way for the obfuscation to stay ahead of JS reversal. Thanks for taking a look!