extension

This commit is contained in:
Yury Semikhatsky 2024-09-23 15:06:03 -07:00
parent 3c73bc3b24
commit c0021312c2
3 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,5 @@
console.log("Service worker script loaded");
chrome.runtime.onInstalled.addListener(() => {
console.log("Extension installed");
});

View file

@ -0,0 +1 @@
console.log("Test console log from a third-party execution context");

View file

@ -0,0 +1,17 @@
{
"manifest_version": 3,
"name": "Console Log Extension",
"version": "1.0",
"background": {
"service_worker": "background.js"
},
"permissions": [
"tabs"
],
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["content.js"]
}
]
}