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

Commit

Permalink
fix: possible patch for try catch statement trap
Browse files Browse the repository at this point in the history
  • Loading branch information
piquark6046 committed Sep 11, 2024
1 parent a749a89 commit 010a88d
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 8 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.10.2
// @version 4.10.3
// @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 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.10.2
// @version 4.10.3
// @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.10.2
// @version 4.10.3
// @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.10.2
// @version 4.10.3
// @author PiQuark6046 and contributors
//
// @match *://ygosu.com/*
Expand Down
2 changes: 2 additions & 0 deletions sources/src/index-ios-blocker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ const Hook = () => {
ProtectFunctionDescriptors(Win, 'atob', {CheckOutputs: true})
ProtectFunctionDescriptors(Win, 'decodeURI')
ProtectFunctionDescriptors(Win, 'decodeURIComponent')
ProtectFunctionDescriptors(Win.Promise.prototype, 'catch')
ProtectFunctionDescriptors(Win.Promise, 'resolve')
ProtectFunctionDescriptors(Win.console, 'log', {CheckErrorStack: ['jjang0u.com']})

// Storage
Expand Down
2 changes: 2 additions & 0 deletions sources/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ const Hook = () => {
ProtectFunctionDescriptors(Win, 'atob', {CheckOutputs: true})
ProtectFunctionDescriptors(Win, 'decodeURI')
ProtectFunctionDescriptors(Win, 'decodeURIComponent')
ProtectFunctionDescriptors(Win.Promise.prototype, 'catch')
ProtectFunctionDescriptors(Win.Promise, 'resolve')
ProtectFunctionDescriptors(Win.console, 'log', {CheckErrorStack: ['jjang0u.com']})

// Storage
Expand Down

0 comments on commit 010a88d

Please sign in to comment.