uweb/misc/ebrowser/sitejs/mypikpak.net.js

13 lines
257 B
JavaScript
Raw Normal View History

(function() {
const originFetch = fetch;
window.fetch = (...arg) => {
if (arg[0].indexOf('area_accessible') > -1) {
return new Promise(() => {
throw new Error();
});
} else {
return originFetch(...arg);
}
}
})();