mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-10 05:27:03 +03:00
Update background.js
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user