Initial commit

This commit is contained in:
Tibo De Peuter 2026-08-08 17:35:53 +02:00
commit 4ae6b27809
No known key found for this signature in database
GPG key ID: 9187B5FA0F4B6F6D
4 changed files with 137 additions and 0 deletions

13
background.js Normal file
View file

@ -0,0 +1,13 @@
browser.action.onClicked.addListener((tab) => {
// Inject the CSS for the hover highlight
browser.scripting.insertCSS({
target: { tabId: tab.id },
files: ["content.css"]
});
// Inject the JavaScript for the element picker
browser.scripting.executeScript({
target: { tabId: tab.id },
files: ["content.js"]
});
});