IHA.EE GIF'I EEMALDAJA (TASUTA VIP) | IHA.EE GIF REMOVER (FREE VIP)

IHA.EE GIF'I EEMALDAJA (TASUTA VIP)

< Feedback on IHA.EE GIF'I EEMALDAJA (TASUTA VIP) | IHA.EE GIF REMOVER (FREE VIP)

Review: Bad - script does not work

§
Posted: 2023-06-07
(function() {
  'use strict';

  let count = 3;

  // Function to remove image overlays
  function removeImageOverlays() {

    if (count == 0) {
      return
    }
    count--;
    let banner = document.querySelectorAll("div.headbanner > a > img")[0];
    banner.src = "https://i.imgur.com/gbAigKT.png";
    banner.id = "varro";
    banner.style.opacity = 0;
    banner.style.transition = 'all 2s ease-out';

    const myInterval = setInterval(myTimer, 15000);

    function myTimer() {
      setTimeout(function() {
        document.getElementById("varro").style.opacity = 0;
        setTimeout(function() {
          document.getElementById("varro").style.transform = "scaleX(-1)";
          setTimeout(function() {
            document.getElementById("varro").style.opacity = 1;
          }, 1000)
        }, 7500);
      }, 2500);
    }

    function myStopFunction() {
      clearInterval(myInterval);
    }

    var overlays = document.querySelectorAll('img[src$=".gif"]');
    overlays.forEach(function(overlay) {
      if (overlay.style.border != 0) {
        return
      }
      overlay.style.transition = 'opacity 500ms';
      overlay.style.opacity = 0;
      setTimeout(function() {
        overlay.style.transition = 'opacity 500ms';
        overlay.style.opacity = 0;
      }, 1000)
    });

    document.querySelectorAll(`div[style^="display:table-cell; width:98.4%"]`).forEach(e => {
      if (e.innerText.includes("Trans")) {
        e.querySelectorAll(`div[style^='display:table; width:00%; border: 0px solid #FF0000;']`).forEach(d => {
          d.style.opacity = 0;
        });
        setTimeout(function() {
          e.style.opacity = 0;
        }, 250);
      }
    });

    document.querySelectorAll('img[border="0"]').forEach(e => {
      e.src.includes("resp_eds4dksid84ujitmdjdhgfkipf.gif") ? e.style.opacity = 0 : e.style.opacity = 1;
    });
  }

  // Call the function to remove image overlays
  setInterval(removeImageOverlays(), 2500);
})();

Post reply

Sign in to post a reply.