GM_CORS

CORS on test drive via GM_xmlhttpRequest

作者
xiaopc
今日安裝
0
安裝總數
240
評價
0 0 0
版本
1.04
建立日期
2023-03-06
更新日期
2023-03-11
尺寸
1.8 KB
授權條款
WTFPL
腳本執行於

a fork from https://gf.qytechs.cn/scripts/440890-cors-via-gm

features:

  • provide both xhr and fetch api for different uses
  • replace fetch api once activate manually
  • use window.xhr to get the xhr type response

to activate:

  window.addEventListener('load', () => {
    const GmCors = document.querySelector('#GmCors');
    if (GmCors) {
      GmCors.init(window);
    }
  };

QingJ © 2025

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