Skip Leaving Messages

Skip redirect permission pages.

目前为 2021-06-28 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name Skip Leaving Messages
  3. // @namespace net.englard.shmuelie
  4. // @version 1.0.0
  5. // @description Skip redirect permission pages.
  6. // @author Shmuelie
  7. // @match https://www.youtube.com/redirect*
  8. // @match https://steamcommunity.com/linkfilter/*
  9. // @grant none
  10. // @website https://github.com/shmuelie/user-scripts/blob/main/src/SkipLeavingMessages.user.js
  11. // @supportURL https://github.com/shmuelie/user-scripts/issues
  12. // @run-at document-idle
  13. // @noframes
  14. // ==/UserScript==
  15.  
  16. (function () {
  17. 'use strict';
  18.  
  19. var link = document.getElementById("invalid-token-redirect-goto-site-button") ||
  20. document.getElementById("proceedButton");
  21. if (link) {
  22. window.location = link.href;
  23. }
  24. })();