From a5e3dcaf4d9b2eb878a57154ace9bbd1d8fe5242 Mon Sep 17 00:00:00 2001 From: Official Noob <31563761+OfficialNoob@users.noreply.github.com> Date: Mon, 12 Aug 2019 21:34:03 +0100 Subject: [PATCH] Update background.js --- background.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/background.js b/background.js index c8d7d593..5f8573e9 100644 --- a/background.js +++ b/background.js @@ -55,7 +55,8 @@ chrome.runtime.onInstalled.addListener(function (object) { // TODO (shownInstallPage): remove this if statement, but leave contents if (!shownInstallPage){ //open up the install page - chrome.tabs.create({url: chrome.extension.getURL("/help/index.html")}); + + chrome.tabs.create({url: chrome.extension.getURL("/help/"+navigator.language.split("-")[0]"-index.html")}); } // TODO (shownInstallPage): delete if statement and contents