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

Commit

Permalink
fix: location.reload can not be reconfigured
Browse files Browse the repository at this point in the history
  • Loading branch information
piquark6046 committed Sep 24, 2024
1 parent edf818a commit 1b14780
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@list-kr/microshield",
"version": "4.11.1",
"version": "4.11.2",
"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/npm/@list-kr/microshield@latest/dist/microShield-ios-blocker.user.js
// @license Apache-2.0
//
// @version 4.11.1
// @version 4.11.2
// @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/npm/@list-kr/microshield@latest/dist/microShield-ios-recovery.user.js
// @license Apache-2.0
//
// @version 4.11.1
// @version 4.11.2
// @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/npm/@list-kr/microshield@latest/dist/microShield.user.js
// @license Apache-2.0
//
// @version 4.11.1
// @version 4.11.2
// @author PiQuark6046 and contributors
//
// @match *://ygosu.com/*
Expand Down
1 change: 0 additions & 1 deletion sources/src/index-ios-blocker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ const Hook = () => {
ProtectFunctionDescriptors(Win, 'alert', {CheckArguments: true})
ProtectFunctionDescriptors(Win, 'confirm', {CheckArguments: true, ReturnAs: 'Undefined'})
ProtectFunctionDescriptors(Win, 'atob', {CheckOutputs: true, ReturnAs: 'error-report.com'})
ProtectFunctionDescriptors(Win.location, 'reload')
ProtectFunctionDescriptors(Win, 'decodeURI', {ReturnAs: 'Undefined'})
ProtectFunctionDescriptors(Win, 'decodeURIComponent', {ReturnAs: 'Undefined'})
ProtectFunctionDescriptors(Win.Promise.prototype, 'catch')
Expand Down
1 change: 0 additions & 1 deletion sources/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ const Hook = () => {
ProtectFunctionDescriptors(Win, 'alert', {CheckArguments: true})
ProtectFunctionDescriptors(Win, 'confirm', {CheckArguments: true, ReturnAs: 'Undefined'})
ProtectFunctionDescriptors(Win, 'atob', {CheckOutputs: true, ReturnAs: 'error-report.com'})
ProtectFunctionDescriptors(Win.location, 'reload')
ProtectFunctionDescriptors(Win, 'decodeURI', {ReturnAs: 'Undefined'})
ProtectFunctionDescriptors(Win, 'decodeURIComponent', {ReturnAs: 'Undefined'})
ProtectFunctionDescriptors(Win.Promise.prototype, 'catch')
Expand Down

0 comments on commit 1b14780

Please sign in to comment.