Rm unused constants
parent
9992d2ccf1
commit
6b5c593f46
|
@ -1,5 +1,3 @@
|
|||
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "RU", "TOK", "UK", "ZH"];
|
||||
|
||||
// Set power setting
|
||||
function setPower(setting) {
|
||||
chrome.storage.local.set({ 'power': setting });
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "RU", "TOK", "UK", "ZH"];
|
||||
var sites = [];
|
||||
|
||||
// Create object prototypes for getting and setting attributes:
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "RU", "TOK", "UK", "ZH"];
|
||||
|
||||
// Load wiki data objects, with each destination having its own object
|
||||
async function commonFunctionGetSiteDataByDestination() {
|
||||
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "RU", "TOK", "UK", "ZH"];
|
||||
var sites = [];
|
||||
let promises = [];
|
||||
for (let i = 0; i < LANGS.length; i++) {
|
||||
|
@ -17,7 +18,6 @@ async function commonFunctionGetSiteDataByDestination() {
|
|||
|
||||
// Load wiki data objects, with each origin having its own object
|
||||
async function commonFunctionGetSiteDataByOrigin() {
|
||||
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "RU", "TOK", "UK", "ZH"];
|
||||
let sites = [];
|
||||
let promises = [];
|
||||
for (let i = 0; i < LANGS.length; i++) {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "RU", "TOK", "UK", "ZH"];
|
||||
const breezewikiRegex = /breezewiki\.com$|breeze\.hostux\.net$|bw\.projectsegfau\.lt$|antifandom\.com$|breezewiki\.pussthecat\.org$|bw\.vern\.cc$|breezewiki\.esmailelbob\.xyz$|bw\.artemislena\.eu$|bw\.hamstro\.dev$|nerd\.whatever\.social$|breeze\.nohost\.network$|breeze\.whateveritworks\.org$/;
|
||||
const currentURL = new URL(document.location);
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
const LANGS = ["DE", "EN", "ES", "FR", "IT", "KO", "PL", "PT", "RU", "TOK", "UK", "ZH"];
|
||||
const currentURL = new URL(document.location);
|
||||
let filteredWikis = [];
|
||||
let hiddenWikisRevealed = {};
|
||||
|
|
Loading…
Reference in New Issue