initial commit of browser extension

This commit is contained in:
2025-07-30 17:03:59 -05:00
parent a05cbc3d12
commit ae5cd721a8
7 changed files with 19318 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
// Allows users to open the side panel by clicking on the action toolbar icon
chrome.sidePanel
.setPanelBehavior({ openPanelOnActionClick: true })
.catch((error) => console.error(error));
chrome.action.onClicked.addListener(() => {
chrome.tabs.create({
url: 'mainpage.html'
});
console.log('Opened a tab with a sandboxed page!');
});