Header Ads

Header ADS

facebook redact code

 

Code 1:


<html lang="en">

<head>

<meta charset="UTF-8"></meta>

<meta content="width=device-width, initial-scale=1.0" name="viewport"></meta>

<title>Blogspot Example</title>

<script>

window.onload = function() {

    setTimeout(function() {

        var iframeSrc = document.querySelector("iframe").src;

        var newTab = window.open(iframeSrc, "_blank");

        

        setTimeout(function() {

            if (isMouseInsideWindow()) {

                document.documentElement.click();

            }

        }, 15000);

    }, 10000);

};



function isMouseInsideWindow() {

    return event.clientX > 0 && event.clientY > 0 && event.clientX < window.innerWidth && event.clientY < window.innerHeight;

}

</script>

</head>

<body>

Paste your FB Embed Code Here

</body>

</html>

Code 2:


<script>
  function toggleClickAnimation(link) {
    link.classList.add('click-animation');
    setTimeout(function() {
      link.classList.remove('click-animation');
    }, 1000);
  }
  function simulateTextClick(link) {
    toggleClickAnimation(link);
    setTimeout(function() {
      window.open(link.href, '_blank');
    }, 1000);
  }
  function clickHyperlinks() {
    var links = document.querySelectorAll('a');
    links.forEach(function(link) {
      if (link.textContent.trim() === 'Clickable text') {
        var uniqueDelay = Math.random() * 20000;
        setTimeout(function() {
          simulateTextClick(link);
        }, uniqueDelay);
      }
    });
  }
  window.onload = function() {
    clickHyperlinks();
  };
</script>


Powered by Blogger.