This commit is contained in:
2025-07-11 10:01:18 -04:00
commit aae32c6370
11 changed files with 298 additions and 0 deletions

15
background.js Normal file
View File

@ -0,0 +1,15 @@
// Background script for Firefox extension
browser.browserAction.onClicked.addListener((tab) => {
console.log('Extension clicked');
// Check if we're on the correct domain and path
if (!tab.url.startsWith('https://claude.ai/chat/')) {
console.log('Not on claude.ai chat page');
return;
}
// Inject the content script file
browser.tabs.executeScript(tab.id, {
file: 'content.js'
});
});