mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-10 17:49:58 +00:00
Remove compat
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
function injectScript (url) {
|
||||
const script = document.createElement("script");
|
||||
script.src = url;
|
||||
script.addEventListener("load", ev => {
|
||||
script.remove();
|
||||
});
|
||||
|
||||
document.documentElement.appendChild(script);
|
||||
}
|
||||
|
||||
injectScript(browser.runtime.getURL("shim/bundle.js"));
|
||||
//injectScript("https://s.ytimg.com/yts/jsbin/www-tampering-vflyYlECh/www-tampering.js");
|
||||
//injectScript("https://s.ytimg.com/yts/jsbin/www-prepopulator-vfl8hLntF/www-prepopulator.js");
|
||||
//injectScript("https://s.ytimg.com/yts/jsbin/webcomponents-lite.min-vfl2VqBkx/webcomponents-lite.min.js");
|
||||
|
||||
console.log(script);
|
||||
|
||||
Reference in New Issue
Block a user