browser action
This commit is contained in:
6
bg.js
6
bg.js
@@ -11,6 +11,12 @@ browser.runtime.onInstalled.addListener((ev) => {
|
||||
}
|
||||
})
|
||||
|
||||
browser.browserAction.onClicked.addListener((tab, info) => {
|
||||
browser.tabs.create({
|
||||
url: "https://www.bahn.de/buchung/fahrgastrechte?einstiegtyp=BC100"
|
||||
})
|
||||
})
|
||||
|
||||
async function updateIsSignificant(previousVersion) {
|
||||
const significantUpdates = ["0.1.0", "0.2.0", "0.3.0"];
|
||||
let currentVersion = (await browser.management.getSelf()).version;
|
||||
|
Reference in New Issue
Block a user