mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 02:29:59 +00:00
Redirect cast extension chrome-extension:// URLs to regular API URL
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
"use strict";
|
||||
|
||||
(window.wrappedJSObject as any).chrome = cloneInto({}, window);
|
||||
const _window = (window.wrappedJSObject as any);
|
||||
|
||||
_window.chrome = cloneInto({}, window);
|
||||
_window.navigator.presentation = cloneInto({}, window);
|
||||
|
||||
Reference in New Issue
Block a user