mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-08 08:39:59 +00:00
Remove compat
This commit is contained in:
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
app/node_modules/
|
||||||
|
ext/node_modules/
|
||||||
|
ext/dist/
|
||||||
@@ -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);
|
|
||||||
|
|
||||||
@@ -16,7 +16,6 @@ module.exports = {
|
|||||||
, "content" : `${include_path}/content.js`
|
, "content" : `${include_path}/content.js`
|
||||||
, "contentSetup" : `${include_path}/contentSetup.js`
|
, "contentSetup" : `${include_path}/contentSetup.js`
|
||||||
, "mediaCast" : `${include_path}/mediaCast.js`
|
, "mediaCast" : `${include_path}/mediaCast.js`
|
||||||
, "compat/youtube" : `${include_path}/compat/youtube.js`
|
|
||||||
}
|
}
|
||||||
, output: {
|
, output: {
|
||||||
filename: "[name].js"
|
filename: "[name].js"
|
||||||
|
|||||||
Reference in New Issue
Block a user