Redirect cast extension chrome-extension:// URLs to regular API URL

This commit is contained in:
hensm
2019-03-13 07:51:38 +00:00
parent 00e923c8ce
commit 870a759251
4 changed files with 80 additions and 8 deletions

View File

@@ -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);