mirror of
https://github.com/abhijithvijayan/web-extension-starter.git
synced 2026-01-30 09:48:12 +01:00
chore: add sample listener to background script
This commit is contained in:
parent
4894a917ca
commit
30990f3bd7
@ -1 +1,5 @@
|
|||||||
console.log('this is background scripts file');
|
import { browser } from 'webextension-polyfill-ts';
|
||||||
|
|
||||||
|
browser.runtime.onInstalled.addListener((): void => {
|
||||||
|
console.log('extension installed');
|
||||||
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user