Copy Paste Clip number :
 

Copy-Paste anything you want, then get it from anywhere.


Clip number :   38J1
Direct URL :   https://www.heypasteit.com/clip/38J1
Date :   2016-12-20 05:10:32 GMT
Download as file
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>

© 2022  HeyPasteIt.com  -  All rights reserved.