🚓QQSecurityURLSkipper

block the QQ's security URL

  1. // ==UserScript==
  2. // @name 🚓QQSecurityURLSkipper
  3. // @namespace http://bi2nb9o3.xyz
  4. // @version 0.2.1
  5. // @description block the QQ's security URL
  6. // @author Bi2Nb9O3
  7. // @match https://c.pc.qq.com/middlect.html?*
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=atcoder.jp
  9. // @grant none
  10. // @license GPL 3.0
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15. if(location.href.search(/(http|https):\/\/c\.pc\.qq\.com\/middlect\.html\?.*pfurl=/) != -1){
  16. console.log("1")
  17. let jum=document.getElementById("url").innerText
  18. document.write("<div style='z-index:9999;width:100vw;height:100vh;display:grid;place-items:center;background-color:#0099ff;color:#fff;position: absolute;top: 0;left: 0;font-size:50px'>Jumping to "+jum+"</div>")
  19. window.location.href=jum
  20. }
  21. // Your code here...
  22. })();