mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 23:57:19 +02:00
Update better-xcloud.user.js
This commit is contained in:
parent
8e23ca51de
commit
4e8848d2fb
2
dist/better-xcloud.user.js
vendored
2
dist/better-xcloud.user.js
vendored
@ -7683,12 +7683,10 @@ function interceptHttpRequests() {
|
|||||||
const response = await NATIVE_FETCH(request, init);
|
const response = await NATIVE_FETCH(request, init);
|
||||||
const obj = await response.clone().json();
|
const obj = await response.clone().json();
|
||||||
if (url.includes(GamePassCloudGallery.ALL)) {
|
if (url.includes(GamePassCloudGallery.ALL)) {
|
||||||
debugger;
|
|
||||||
for (let i = 1;i < obj.length; i++) {
|
for (let i = 1;i < obj.length; i++) {
|
||||||
gamepassAllGames.push(obj[i].id);
|
gamepassAllGames.push(obj[i].id);
|
||||||
}
|
}
|
||||||
} else if (url.includes(GamePassCloudGallery.TOUCH)) {
|
} else if (url.includes(GamePassCloudGallery.TOUCH)) {
|
||||||
debugger;
|
|
||||||
try {
|
try {
|
||||||
let customList = TouchController.getCustomList();
|
let customList = TouchController.getCustomList();
|
||||||
customList = customList.filter((id2) => gamepassAllGames.includes(id2));
|
customList = customList.filter((id2) => gamepassAllGames.includes(id2));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user