mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 02:29:59 +00:00
Add hybrid UA TODO
This commit is contained in:
@@ -493,6 +493,8 @@ async function initWhitelist () {
|
|||||||
/**
|
/**
|
||||||
* New YouTube breaks without the default user agent string,
|
* New YouTube breaks without the default user agent string,
|
||||||
* so use hybrid Firefox/Chrome version.
|
* so use hybrid Firefox/Chrome version.
|
||||||
|
*
|
||||||
|
* TODO: Test this on other sites
|
||||||
*/
|
*/
|
||||||
if (host?.value === "www.youtube.com") {
|
if (host?.value === "www.youtube.com") {
|
||||||
header.value = getChromeUserAgent(os, true);
|
header.value = getChromeUserAgent(os, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user