mirror of
https://github.com/abhijithvijayan/web-extension-starter.git
synced 2025-10-07 07:22:37 +02: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