AutoClickLink

Bypass the ads and open directly to the real link

  1. // ==UserScript==
  2. // @name AutoClickLink
  3. // @namespace Violentmonkey Scripts
  4. // @match https://imgdrive.net/*
  5. // @description Bypass the ads and open directly to the real link
  6. // @version 0.1.0
  7. // @grant none
  8. // ==/UserScript==
  9.  
  10. function addCss(cssString) {
  11. var head = document.getElementsByTagName('head')[0];
  12. var newCss = document.createElement('style');
  13. newCss.type = 'text/css';
  14. newCss.innerHTML = cssString;
  15. head.appendChild(newCss);
  16. }
  17.  
  18. addCss(`
  19. .if,
  20. body > div:last-child,
  21. body > div:first-child{
  22. display: none !important;
  23. }
  24. `)
  25.  
  26. setTimeout(function () {
  27. document.querySelector('.overlay_ad_link').click()
  28. }, 1000)

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址