Just for fun I poked into the new ExtraTorrent "javascript protection" tonight, well... It's not much...
Just add this piece of code:
<script type="text/javascript">
document.getElementById('e_content').style.display = 'block';
window.onbeforeunload = function(e) {
$( document ).ready(function() {
console.log($('#e_content').html());
// Post the content of $('#e_content').html() to your server with Ajax and keep a local copy of the content, then remove the redirection code, replace the ads...
// Your proxy site is back doing business in minutes...
// The only downside is the first pageview of a user displays a 'Stay' or 'Leave' confirm() box... if the user hits 'Stay' this code even shows the site properly...
// All this complex non-sense is pointless...
// Pretty sure with some Kunfgu-Ninja-jQuery-Skills you can bypass all this...
// POC: only tested in Chrome.
// Bests, wanted.
});
return "better luck next time";
};
</script>
Right before:
<script type="text/javascript" src="https://extra.to/scripts/main.js?191201"></script>
</body>
</html>
|