Skip to content

Commit 0ab84ca

Browse files
Add new user agent (#610)
1 parent 3a83fa8 commit 0ab84ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/injector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ async def get_tab_lambda(test: Callable[[Tab], bool]) -> Tab:
412412

413413
SHARED_CTX_NAMES = ["SharedJSContext", "Steam Shared Context presented by Valve™", "Steam", "SP"]
414414
CLOSEABLE_URLS = ["about:blank", "data:text/html,%3Cbody%3E%3C%2Fbody%3E"] # Closing anything other than these *really* likes to crash Steam
415-
DO_NOT_CLOSE_URLS = ["Valve Steam Gamepad/default", "Valve%20Steam%20Gamepad/default"] # Steam Big Picture Mode tab
415+
DO_NOT_CLOSE_URLS = ["Valve Steam Gamepad/default", "Valve%20Steam%20Gamepad"] # Steam Big Picture Mode tab
416416

417417
def tab_is_gamepadui(t: Tab) -> bool:
418418
return "https://steamloopback.host/routes/" in t.url and t.title in SHARED_CTX_NAMES

0 commit comments

Comments
 (0)