aboutsummaryrefslogtreecommitdiffhomepage
path: root/webpack
diff options
context:
space:
mode:
authorAjay <[email protected]>2023-02-07 17:42:22 -0500
committerAjay <[email protected]>2023-02-07 17:42:22 -0500
commitbbb234e4980b250feecbdbf9793276cb05345ba6 (patch)
treef55fa07f7e32f7f8cea502b3072d96e4d7d0c1b0 /webpack
parent3716c8aa801f8eb2b77eee68d7a50dadd8d94eae (diff)
downloadSponsorBlock-bbb234e4980b250feecbdbf9793276cb05345ba6.tar.gz
SponsorBlock-bbb234e4980b250feecbdbf9793276cb05345ba6.zip
Make invidious instances work on safari
Diffstat (limited to 'webpack')
-rw-r--r--webpack/webpack.manifest.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/webpack/webpack.manifest.js b/webpack/webpack.manifest.js
index ebd4d967..3041fe6d 100644
--- a/webpack/webpack.manifest.js
+++ b/webpack/webpack.manifest.js
@@ -3,8 +3,6 @@
const webpack = require("webpack");
const path = require('path');
const { validate } = require('schema-utils');
-const invidiousList = require("../ci/invidiouslist.json");
-
const fs = require('fs');
const manifest = require("../manifest/manifest.json");
@@ -50,11 +48,6 @@ class BuildManifest {
mergeObjects(manifest, chromeManifestExtra);
} else if (this.options.browser.toLowerCase() === "safari") {
mergeObjects(manifest, safariManifestExtra);
-
- // Add all invidious instances as options for the content script
- for (const instance of invidiousList) {
- manifest.content_scripts[0].matches.push(`*://*.${instance}/*`);
- }
}
if (this.options.stream === "beta") {