Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
- <meta content="width=device-width, initial-scale=1, minimal-ui" name="viewport" />
- <title>archive.ph</title>
- </head>
- [html snipped]
- <script type="text/javascript">
- var h = window.location.href;
- if (!window.location.hash)
- window.history.pushState('/','','/');
- var onloadCallback = function() {
- document.getElementById('g-host').innerText = window.location.host;
- var widgetId = grecaptcha.render('g-recaptcha', {
- 'sitekey': '6LeQbtsSAAAAAHevV56qhVr_0JhQI7N-zTPoOoWJ', // my
- //'sitekey': '6Lc7CQMTAAAAAIL84V_tPRYEWZtljsJQJZ5jSijw', // linkedin's
- 'callback': function(response) {
- var xhr = new XMLHttpRequest();
- xhr.open('POST', "/cdn-cgi/l/chk_captcha");
- xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
- xhr.send('response='+encodeURIComponent(response)+"&location="+encodeURIComponent(h));
- xhr.onload = function() {
- if (xhr.status == 200) {
- if (window.location.href != h)
- window.location.replace(h);
- else
- window.location.reload();
- } else {
- grecaptcha.reset(widgetId);
- }
- }
- xhr.onerror = function() { grecaptcha.reset(widgetId); }
- }
- });
- };
- setInterval(function() {
- var e = document.querySelector('body > div[style*="absolute"]');
- if (e && e.style.left.match(/^-/))
- e.style.left = "10px";
- }, 1000);
- </script>
- <script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit" async defer></script>
- <script type="text/javascript">
- // import('https://openfpcdn.io/fingerprintjs/v3')
- // .then(FingerprintJS => FingerprintJS.load({monitoring: false}))
- // .then(fp => fp.get())
- // .then(result => fetch('/cdn-cgi/l/is_captcha_needless', {method: 'POST', headers: {'Content-Type': 'application/json'}, body: JSON.stringify(result.components)}))
- // .then(response => response.json());
- var xh2 = new Image(); xh2.referrerPolicy="no-referrer"; xh2.src = "//www.northcountrygazette.org/20" + (10+Math.round(new Date().getTime() % 15)) + "/0" + (1+Math.round(new Date().getTime() % 9)) + "/";
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement