adfoc.us skip

Auto Open Skip Link & Show Hidden Button

  1. // ==UserScript==
  2. // @name adfoc.us skip
  3. // @namespace Violentmonkey Scripts
  4. // @match http://adfoc.us/*
  5. // @match https://adfoc.us/*
  6. // @grant none
  7. // @version 1.2
  8. // @author Baba-Yagan
  9. // @license CC BY-NC-SA 4.0
  10. // @license https://creativecommons.org/licenses/by-nc-sa/4.0/
  11. // @description Auto Open Skip Link & Show Hidden Button
  12. // @homepage https://gf.qytechs.cn/en/scripts/529579-adfoc-us-skip
  13. // ==/UserScript==
  14.  
  15. (function() {
  16. 'use strict';
  17.  
  18. // Make #showSkip visible
  19. let skipDiv = document.querySelector("#showSkip");
  20. if (skipDiv) {
  21. skipDiv.removeAttribute("style");
  22. }
  23.  
  24. // Wait for the page to fully load
  25. window.onload = function() {
  26. let skipLink = document.querySelector("#showSkip a");
  27. if (skipLink && skipLink.href) {
  28. window.location.href = skipLink.href; // Redirect to the URL
  29. }
  30. };
  31. })();

QingJ © 2025

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