mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-07-01 11:51:43 +02:00
Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
a77460e242 | |||
d2839b2b7c | |||
8aa5177e10 | |||
ff490be713 | |||
eb340e7f2a |
33
.github/ISSUE_TEMPLATE/02-feature-request.yml
vendored
33
.github/ISSUE_TEMPLATE/02-feature-request.yml
vendored
@ -14,41 +14,12 @@ body:
|
||||
id: device_type
|
||||
attributes:
|
||||
label: Device
|
||||
description: "Which device are you using?"
|
||||
description: "Which device type is this feature for?"
|
||||
options:
|
||||
- All devices
|
||||
- Phone/Tablet
|
||||
- Laptop
|
||||
- Desktop
|
||||
- TV
|
||||
- Other
|
||||
multiple: false
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: os
|
||||
attributes:
|
||||
label: "Operating System"
|
||||
description: "Which operating system is it running?"
|
||||
options:
|
||||
- Windows
|
||||
- macOS
|
||||
- Linux
|
||||
- Android
|
||||
- iOS/iPadOS
|
||||
- Other
|
||||
multiple: false
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: browser
|
||||
attributes:
|
||||
label: "Browser"
|
||||
description: "Which browser are you using?"
|
||||
options:
|
||||
- Chrome/Edge/Chromium
|
||||
- Kiwi Browser
|
||||
- Safari
|
||||
- Other
|
||||
multiple: false
|
||||
validations:
|
||||
required: true
|
||||
|
2
dist/better-xcloud.meta.js
vendored
2
dist/better-xcloud.meta.js
vendored
@ -1,5 +1,5 @@
|
||||
// ==UserScript==
|
||||
// @name Better xCloud
|
||||
// @namespace https://github.com/redphx
|
||||
// @version 5.5.1
|
||||
// @version 5.5.2
|
||||
// ==/UserScript==
|
||||
|
12
dist/better-xcloud.user.js
vendored
12
dist/better-xcloud.user.js
vendored
File diff suppressed because one or more lines are too long
@ -211,3 +211,17 @@ div[class*=SupportedInputsBadge] {
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
|
||||
/* Device Code page */
|
||||
#root {
|
||||
section[class*=DeviceCodePage-module__page] {
|
||||
margin-left: 20px !important;
|
||||
margin-right: 20px !important;
|
||||
margin-top: 20px !important;
|
||||
max-width: 800px !important;
|
||||
}
|
||||
|
||||
div[class*=DeviceCodePage-module__back] {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
@ -112,7 +112,7 @@ document.addEventListener('readystatechange', e => {
|
||||
return;
|
||||
}
|
||||
|
||||
STATES.isSignedIn = (window as any).xbcUser?.isSignedIn;
|
||||
STATES.isSignedIn = !!((window as any).xbcUser?.isSignedIn);
|
||||
|
||||
if (STATES.isSignedIn) {
|
||||
// Preload Remote Play
|
||||
@ -152,6 +152,7 @@ window.addEventListener(BxEvent.XCLOUD_SERVERS_UNAVAILABLE, e => {
|
||||
});
|
||||
|
||||
window.addEventListener(BxEvent.XCLOUD_SERVERS_READY, e => {
|
||||
STATES.isSignedIn = true;
|
||||
HeaderSection.watchHeader();
|
||||
});
|
||||
|
||||
|
@ -750,7 +750,7 @@ true` + text;
|
||||
return false;
|
||||
}
|
||||
|
||||
index = str.indexOf('const ', index - 100);
|
||||
index = str.indexOf('const ', index - 30);
|
||||
if (index < 0) {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user