From 383497953a97eb701630a38df47d258de2193a6b Mon Sep 17 00:00:00 2001 From: Petr Stepchenko Date: Thu, 25 Jul 2024 00:04:51 +0200 Subject: [PATCH] Add onboarding website page --- src/pages/background/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/background/index.ts b/src/pages/background/index.ts index d069920..65bd3f3 100644 --- a/src/pages/background/index.ts +++ b/src/pages/background/index.ts @@ -16,10 +16,10 @@ reloadOnUpdate("pages/content/style.scss"); console.log("background loaded"); chrome.runtime.onInstalled.addListener(function (object) { - let optionsUrl = chrome.runtime.getURL("src/pages/options/index.html"); + const onboardingUrl = "https://easysubs.cc/en/onboarding/"; if (object.reason === chrome.runtime.OnInstalledReason.INSTALL) { - chrome.tabs.create({ url: optionsUrl }, function (tab) { + chrome.tabs.create({ url: onboardingUrl }, function (tab) { console.log("New tab launched with options page"); }); }