mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
ebrowser 1.0.45: sitejs/sitecss support
This commit is contained in:
parent
e28838f738
commit
6fc7d22514
12 changed files with 64 additions and 27 deletions
12
misc/ebrowser/sitejs/mypikpak.net.js
Normal file
12
misc/ebrowser/sitejs/mypikpak.net.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
(function() {
|
||||
const originFetch = fetch;
|
||||
window.fetch = (...arg) => {
|
||||
if (arg[0].indexOf('area_accessible') > -1) {
|
||||
return new Promise(() => {
|
||||
throw new Error();
|
||||
});
|
||||
} else {
|
||||
return originFetch(...arg);
|
||||
}
|
||||
}
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue