mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-05 12:56:42 +02:00
Update better-xcloud.user.js
This commit is contained in:
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));
|
||||||
|
Reference in New Issue
Block a user