mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-07 13:48:27 +02:00
Fix "ignoreNewsSection" patch
This commit is contained in:
2
dist/better-xcloud.pretty.user.js
vendored
2
dist/better-xcloud.pretty.user.js
vendored
@@ -5502,7 +5502,7 @@ true` + text;
|
||||
return str = str.substring(0, index) + "|| true" + str.substring(index), str;
|
||||
},
|
||||
ignoreNewsSection(str) {
|
||||
let index = str.indexOf('Logger("CarouselRow")');
|
||||
let index = str.indexOf('("CarouselRow"))');
|
||||
if (index > -1 && (index = PatcherUtils.lastIndexOf(str, "const ", index, 200)), index < 0) return !1;
|
||||
return str = PatcherUtils.insertAt(str, index, "return null;"), str;
|
||||
},
|
||||
|
Reference in New Issue
Block a user