diff --git a/background.js b/background.js index e5b45c1..997a96d 100644 --- a/background.js +++ b/background.js @@ -74,7 +74,7 @@ function redirectToBreezeWiki(storage, eventInfo, url) { // Load website data. async function getData() { - const LANGS = ["DE", "EN", "ES", "IT", "PL"]; + const LANGS = ["DE", "EN", "ES", "FR", "IT", "PL"]; let sites = []; let promises = []; for (let i = 0; i < LANGS.length; i++) { diff --git a/content.js b/content.js index a58255c..d67b156 100644 --- a/content.js +++ b/content.js @@ -25,7 +25,7 @@ function addLocationObserver(callback) { // Load website data async function getData() { - const LANGS = ["DE", "EN", "ES", "IT", "PL"]; + const LANGS = ["DE", "EN", "ES", "FR", "IT", "PL"]; let sites = []; let promises = []; for (let i = 0; i < LANGS.length; i++) { diff --git a/data/sitesFR.json b/data/sitesFR.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/data/sitesFR.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/manifest2.json b/manifest2.json index 1d1053d..98b334c 100644 --- a/manifest2.json +++ b/manifest2.json @@ -29,6 +29,7 @@ "data/sitesDE.json", "data/sitesEN.json", "data/sitesES.json", + "data/sitesFR.json", "data/sitesIT.json", "data/sitesPL.json" ], diff --git a/manifest3.json b/manifest3.json index 6c0746e..9c27128 100644 --- a/manifest3.json +++ b/manifest3.json @@ -31,6 +31,7 @@ "data/sitesDE.json", "data/sitesEN.json", "data/sitesES.json", + "data/sitesFR.json", "data/sitesIT.json", "data/sitesPL.json" ], diff --git a/popup.html b/popup.html index 5f7ae70..30b23ca 100644 --- a/popup.html +++ b/popup.html @@ -184,6 +184,7 @@ + diff --git a/popup.js b/popup.js index d6757aa..f505c8a 100644 --- a/popup.js +++ b/popup.js @@ -1,4 +1,4 @@ -const LANGS = ["DE", "EN", "ES", "IT", "PL"]; +const LANGS = ["DE", "EN", "ES", "FR", "IT", "PL"]; var sites = []; // Create object prototypes for getting and setting attributes: