Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
fix: ReadableStreamBYOBRequest.prototype.view can only be used on a R…
Browse files Browse the repository at this point in the history
…eadableStreamBYOBRequest
  • Loading branch information
piquark6046 committed Aug 19, 2024
1 parent d2ba1da commit 073050a
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 9 deletions.
4 changes: 2 additions & 2 deletions microShield-ios-blocker.user.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion microShield-ios-recovery.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// @downloadURL https://cdn.jsdelivr.net/gh/List-KR/microShield@latest/microShield-ios-recovery.user.js
// @license Apache-2.0
//
// @version 4.7.3
// @version 4.7.4
// @author PiQuark6046 and contributors
//
// @match *://ygosu.com/*
Expand Down
4 changes: 2 additions & 2 deletions microShield.user.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "microshield",
"version": "4.7.3",
"version": "4.7.4",
"description": "",
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion sources/banner-ios-blocker.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// @downloadURL https://cdn.jsdelivr.net/gh/List-KR/microShield@latest/microShield-ios-blocker.user.js
// @license Apache-2.0
//
// @version 4.7.3
// @version 4.7.4
// @author PiQuark6046 and contributors
//
// @match *://ygosu.com/*
Expand Down
2 changes: 1 addition & 1 deletion sources/banner-ios-recovery.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// @downloadURL https://cdn.jsdelivr.net/gh/List-KR/microShield@latest/microShield-ios-recovery.user.js
// @license Apache-2.0
//
// @version 4.7.3
// @version 4.7.4
// @author PiQuark6046 and contributors
//
// @match *://ygosu.com/*
Expand Down
2 changes: 1 addition & 1 deletion sources/banner.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// @downloadURL https://cdn.jsdelivr.net/gh/List-KR/microShield@latest/microShield.user.js
// @license Apache-2.0
//
// @version 4.7.3
// @version 4.7.4
// @author PiQuark6046 and contributors
//
// @match *://ygosu.com/*
Expand Down
4 changes: 4 additions & 0 deletions sources/src/utils/secret.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ export const ProtectDescriptors = <T extends ArbitaryObject, K extends keyof T>(
const DefineProperties = ProtectFunction(Object.defineProperties, {
CheckArgumentFunctions: [
ArgArray => {
if (location.hostname.includes('raenonx.cc')) {
return true
}

for (const TargetProperty of Object.keys(ArgArray[1] as ArbitaryObject) as K[]) {
if (ProtectedDescriptors.has(ArgArray[0][TargetProperty])) {
return false
Expand Down

0 comments on commit 073050a

Please sign in to comment.