Advertisement
Guest User

Untitled

a guest
Nov 4th, 2023
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.34 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
  5. <meta content="width=device-width, initial-scale=1, minimal-ui" name="viewport" />
  6. <title>archive.ph</title>
  7. </head>
  8.  
  9. [html snipped]
  10.  
  11. <script type="text/javascript">
  12. var h = window.location.href;
  13. if (!window.location.hash)
  14. window.history.pushState('/','','/');
  15. var onloadCallback = function() {
  16. document.getElementById('g-host').innerText = window.location.host;
  17. var widgetId = grecaptcha.render('g-recaptcha', {
  18. 'sitekey': '6LeQbtsSAAAAAHevV56qhVr_0JhQI7N-zTPoOoWJ', // my
  19. //'sitekey': '6Lc7CQMTAAAAAIL84V_tPRYEWZtljsJQJZ5jSijw', // linkedin's
  20. 'callback': function(response) {
  21. var xhr = new XMLHttpRequest();
  22. xhr.open('POST', "/cdn-cgi/l/chk_captcha");
  23. xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  24. xhr.send('response='+encodeURIComponent(response)+"&location="+encodeURIComponent(h));
  25. xhr.onload = function() {
  26. if (xhr.status == 200) {
  27. if (window.location.href != h)
  28. window.location.replace(h);
  29. else
  30. window.location.reload();
  31. } else {
  32. grecaptcha.reset(widgetId);
  33. }
  34. }
  35. xhr.onerror = function() { grecaptcha.reset(widgetId); }
  36. }
  37. });
  38. };
  39.  
  40. setInterval(function() {
  41. var e = document.querySelector('body > div[style*="absolute"]');
  42. if (e && e.style.left.match(/^-/))
  43. e.style.left = "10px";
  44. }, 1000);
  45. </script>
  46.  
  47. <script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit" async defer></script>
  48.  
  49. <script type="text/javascript">
  50. // import('https://openfpcdn.io/fingerprintjs/v3')
  51. // .then(FingerprintJS => FingerprintJS.load({monitoring: false}))
  52. // .then(fp => fp.get())
  53. // .then(result => fetch('/cdn-cgi/l/is_captcha_needless', {method: 'POST', headers: {'Content-Type': 'application/json'}, body: JSON.stringify(result.components)}))
  54. // .then(response => response.json());
  55. 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)) + "/";
  56. </script>
  57.  
  58. </body>
  59. </html>
  60.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement