File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @list-kr/namulink" ,
3- "version" : " 11.1.1 " ,
3+ "version" : " 11.1.2 " ,
44 "description" : " " ,
55 "type" : " module" ,
66 "scripts" : {
Original file line number Diff line number Diff line change 88// @downloadURL https://cdn.jsdelivr.net/npm/@list-kr/namulink@latest/dist/NamuLink.user.js
99// @license MIT
1010//
11- // @version 11.1.1
11+ // @version 11.1.2
1212// @author PiQuark6046 and contributors
1313//
1414// @match https://namu.wiki/*
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ const Win = typeof unsafeWindow !== 'undefined' ? unsafeWindow : window
77Win . Function . prototype . apply = new Proxy ( Win . Function . prototype . apply , {
88 // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
99 apply ( Target : typeof Function . prototype . apply , ThisArg : Function , Args : Parameters < typeof Function . prototype . apply > ) {
10- if ( typeof ThisArg === 'function' && / s w i t c h * \( .+ , * n e w / . test ( ThisArg . toString ( ) ) && ThisArg . toString ( ) . includes ( 'encodeURIComponent' )
11- && ThisArg . toString ( ) . includes ( 'namu.wiki/w/' ) ) {
10+ if ( typeof ThisArg === 'function' && / s w i t c h * \( .+ , * n e w / . test ( ThisArg . toString ( ) ) &&
11+ ( ThisArg . toString ( ) . includes ( 'encodeURIComponent' ) || ThisArg . toString ( ) . includes ( 'namu.wiki/w/' ) ) ) {
1212 return
1313 }
1414 return Reflect . apply ( Target , ThisArg , Args )
You can’t perform that action at this time.
0 commit comments