mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-09 17:19:59 +00:00
Update YouTube UA comment
This commit is contained in:
@@ -490,8 +490,7 @@ function initWhitelist () {
|
||||
if (header.name.toLowerCase() === "user-agent") {
|
||||
/**
|
||||
* New YouTube breaks without the default user agent string,
|
||||
* so pretend to be an old version of Chrome to get the old
|
||||
* site.
|
||||
* so use hybrid Firefox/Chrome version.
|
||||
*/
|
||||
if (host?.value === "www.youtube.com") {
|
||||
header.value = getChromeUserAgent(os, true);
|
||||
|
||||
Reference in New Issue
Block a user