Open help page on installation.

This commit is contained in:
Ryan Breen
2023-01-20 23:52:19 -05:00
parent 8927c540ee
commit 8c7c5f2214
2 changed files with 11 additions and 3 deletions

View File

@@ -2,6 +2,16 @@ import { generatePrivateKey, getPublicKey, signEvent, nip04, nip19 } from "nostr
const storage = browser.storage.local;
browser.runtime.onInstalled.addListener(({reason}) => {
console.log('install handler run');
if (['install'].includes(reason)) {
console.log('install handler create tab');
browser.tabs.create({
url: 'https://ursus.camp/nostore'
})
}
});
browser.runtime.onMessage.addListener(async (message, _sender, sendResponse) => {
console.log(message);

View File

@@ -63,5 +63,3 @@ tr {
font-size: 50%;
color: green;
}
/* @media (prefers-color-scheme: dark) {} */