Open help page on installation.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -62,6 +62,4 @@ tr {
|
||||
.disclaimer {
|
||||
font-size: 50%;
|
||||
color: green;
|
||||
}
|
||||
|
||||
/* @media (prefers-color-scheme: dark) {} */
|
||||
}
|
||||
Reference in New Issue
Block a user