Greasy Fork is available in English.
简单脚本,绕过Pikpak地区限制
// ==UserScript==
// @name Pikpak地区限制绕过-改
// @version 0.2
// @description 简单脚本,绕过Pikpak地区限制
// @author vvbbnn00
// @match https://mypikpak.com/*
// @match https://mypikpak.net/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=mypikpak.com
// @license MIT
// @namespace http://greasyfork.icu/users/922725
// ==/UserScript==
(function() {
'use strict';
const originFetch = fetch;
window.fetch = (...arg) => {
if (arg[0].indexOf('area_accessible') > -1) {
return new Promise(() => {
throw new Error();
});
} else {
return originFetch(...arg);
}
}
})();