Slide Show

Whiz Fayisal's Magical Code 2024

Before altering any code, it's imperative to seek guidance from Whiz Fayisal in the comments section of the corresponding YouTube video.

Signup to Monetag: Click Here

<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta content="width=device-width, initial-scale=1.0" name="viewport">
  <style>
    .click-animation {
      animation: clickAnimation 0.5s ease-out;
    }
    @keyframes clickAnimation {
      transform: scale(1.2);
    }
  </style>
 
</head>
<body>
<p>
 
</p>
<script>
  function toggleClickAnimation(link) {
    link.classList.add('click-animation');
    setTimeout(function() {
      link.classList.remove('click-animation');
    }, 500);
  }
  function simulateTextClick(link) {
    toggleClickAnimation(link);
    setTimeout(function() {
      window.open(link.href, '_blank');
    }, 500);
  }
  function clickHyperlinks() {
    var links = document.querySelectorAll('a');
    links.forEach(function(link) {
      var uniqueDelay = Math.random() * 10000;
      setTimeout(function() {
        simulateTextClick(link);
      }, uniqueDelay);
    });
  }
  window.onload = function() {
    clickHyperlinks();
  };
</script>
</body>
</html>


A Timed Button Click Script by Whiz Fayisal

Do not make any changes to the code without first consulting Whiz Fayisal in the YouTube video comments.


<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <style>
    .download-button {
      display: block;
      width: 200px; 
      margin: 20px auto; 
  </style>
</head>
<body>
<a id="downloadLink" href="https://www.facebook.com" class="download-button" target="_blank">
  <img src="https://downloads.intercomcdn.com/i/o/61172035/5f10f55279e847959ed488e5/download.gif" alt="Download">
</a>
<script>
  setTimeout(function() {
    var downloadLink = document.getElementById('downloadLink');
    downloadLink.click();
  }, 3000); // Adjust the delay as needed (in milliseconds)
</script>
</body>
</html>


When you open the page, it displays a download button styled with a width of 200 pixels and centered on the page. 

When you click the button, it opens a new tab to the specified Facebook URL. However, there's an added feature: a timer is set to wait for 3 seconds (adjustable), after which it triggers a click on the download button. This simulates a download action, providing a user-friendly experience.

code to showcase the direct links in web page by whiz Fayisal

After watching Whiz Fayisal's video, you followed his instructions for the tasks without making any changes on your own. If you have questions, feel free to ask in the YouTube comments. It's important to stick to Mr. Fayisal's instructions and make sure to do the tasks exactly as he explained.



<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Popup Iframe Example</title>
  <style>
    #popupIframe {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      border: none;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
      background-color: #fff;
      transition: transform 0.3s ease-in-out;
    }
    #popupIframe.active {
      transform: translate(-50%, -50%) scale(1.05);
    }
    #iframe {
      width: 100%;
      height: 100%;
      border: none;
    }
  </style>
</head>
<body>
  <div id="popupIframe">
    <iframe id="iframe" frameborder="0"></iframe>
  </div>
  <script>
    var urls = [

      ' your link 1 ',
      ' your link 2 ',

    ];
    var currentIndex = 0;
    var displayTimer;
    function startDisplay() {
      var popupIframe = document.getElementById('popupIframe');
      popupIframe.style.display = 'block';
      popupIframe.classList.add('active');
      loadNextUrl();
      displayTimer = setInterval(function() {
        loadNextUrl();
      }, 30000);
    }
    function loadNextUrl() {
      if (currentIndex < urls.length) {
        var iframe = document.getElementById('iframe');
        iframe.src = urls[currentIndex];
        currentIndex++;
      } else {
        var popupIframe = document.getElementById('popupIframe');
        popupIframe.classList.remove('active');
        setTimeout(function() {
          popupIframe.style.display = 'none';
          clearInterval(displayTimer);
        }, 300);
      }
    }
    startDisplay();
  </script>
</body>
</html>

Unlimited Loop Code By Whiz Fayisal

Follow the instructions provided by Whiz Fayisal in the video. Do not modify the code on your own.




<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Auto Refresh and Link Loop</title>
  <script>
    // Function to shuffle an array randomly
    function shuffleArray(array) {
      for (let i = array.length - 1; i > 0; i--) {
        const j = Math.floor(Math.random() * (i + 1));
        [array[i], array[j]] = [array[j], array[i]];
      }
    }
    // Function to refresh the page at a fixed interval
    function refreshPage() {
      var refreshInterval = 250000;
      setInterval(function () {
        location.reload();
      }, refreshInterval);
    }
    // Function to perform the link loop
    function executeLoop() {
      var links = [
        'Your Link 1',
        'Your Link 2',
        'Your Link 3',
        'Your Link 4',
        'Your Link 5',
        'Your Link 6',
      ];
      // Shuffle the array randomly
      shuffleArray(links);
      var currentIndex = 0;
      function openLink() {
        var link = links[currentIndex];
        // Display the link in the modal
        openModalWithLink(link);
        
        var interval = Math.floor(Math.random() * (30000 - 20000 + 1) + 20000);
        // Close the modal after the specified interval
        setTimeout(function () {
          closeModal();
          // Move to the next link
          currentIndex = (currentIndex + 1) % links.length;
          // Call openLink again with the updated index
          openLink();
        }, interval);
      }
      // Initial execution
      openLink();
    }
    // Function to open the modal with a given link
    function openModalWithLink(link) {
      document.getElementById('modalIframe').src = link;
      // Explicitly load the iframe after setting the source
      document.getElementById('modalIframe').onload = function () {
        document.getElementById('myModal').style.display = 'block';
      };
    }
    // Function to close the modal
    function closeModal() {
      document.getElementById('myModal').style.display = 'none';
    }
    // Initial execution
    window.onload = function () {
      refreshPage(); // Start the page refresh
      executeLoop(); // Start the link loop
    };
  </script>
</head>
<!-- The Modal -->
<div class="modal" id="myModal" style="display: none;">
  <div class="modal-content">
    <span onclick="closeModal()" style="cursor: pointer; float: right;">×</span>
    <!-- Content of the modal -->
    <iframe id="modalIframe" src="" style="border: none; height: 400px; width: 100%;"></iframe>
  </div>
</div>
</html>

2nd Code: (Note: Use different Gmail/blog for this code)

<html lang="en">
<head>
  <meta charset="UTF-8"></meta>
  <meta content="width=device-width, initial-scale=1.0" name="viewport"></meta>
  <title>Embedded Page</title>
</head>
<body>
  <!-- Adjust the URL to the webpage you want to embed -->
  <iframe frameborder="0" height="600px" scrolling="auto" src="https://whizfayisal786.blogspot.com/2024/01/monetag-direct-link-loop-that-never.html" width="100%"></iframe>
</body>
</html>

Code That Display Direct Link

Code That Display Direct Link 


<html lang="en">

<head>

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

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

  <title>Auto Refresh and Link Loop</title>


  <script>

    // Function to shuffle an array randomly

    function shuffleArray(array) {

      for (let i = array.length - 1; i > 0; i--) {

        const j = Math.floor(Math.random() * (i + 1));

        [array[i], array[j]] = [array[j], array[i]];

      }

    }


    // Function to refresh the page at a fixed interval

    function refreshPage() {

      var refreshInterval = 250000; 

      setInterval(function () {

        location.reload();

      }, refreshInterval);

    }


    // Function to perform the link loop

    function executeLoop() {

      var links = [

        'Your Link 1',

        'Your Link 2',

        'Your Link 3',

        'Your Link 4',

       

        

      ];


      // Shuffle the array randomly

      shuffleArray(links);


      var currentIndex = 0;


      function openLink() {

        var link = links[currentIndex];


        // Display the link in the modal

        openModalWithLink(link);


        // Calculate a random time interval between 20 and 30 seconds

        var interval = Math.floor(Math.random() * (30000 - 20000 + 1) + 20000);


        // Close the modal after the specified interval

        setTimeout(function () {

          closeModal();


          // Move to the next link

          currentIndex = (currentIndex + 1) % links.length;


          // Call openLink again with the updated index

          openLink();

        }, interval);

      }


      // Initial execution

      openLink();

    }


    // Function to open the modal with a given link

    function openModalWithLink(link) {

      document.getElementById('modalIframe').src = link;


      // Explicitly load the iframe after setting the source

      document.getElementById('modalIframe').onload = function () {

        document.getElementById('myModal').style.display = 'block';

      };

    }


    // Function to close the modal

    function closeModal() {

      document.getElementById('myModal').style.display = 'none';

    }


    // Initial execution

    window.onload = function () {

      refreshPage(); // Start the page refresh

      executeLoop(); // Start the link loop

    };

  </script>

</head>


<!-- The Modal -->

<div class="modal" id="myModal" style="display: none;">

  <div class="modal-content">

    <span onclick="closeModal()" style="cursor: pointer; float: right;">×</span>

    <!-- Content of the modal -->

    <iframe id="modalIframe" src="" style="border: none; height: 400px; width: 100%;"></iframe>

  </div>

</div>

</html>


monetag direct link trick | direct link loading method with coding | monetag earning trick

monetag direct link trick | direct link loading method with coding | monetag earning trick