opendia init

This commit is contained in:
Aaron Elijah Mars
2025-06-13 23:21:32 +02:00
parent c6c6394543
commit e26dc768fe
10 changed files with 2540 additions and 799 deletions

View File

@@ -0,0 +1,13 @@
// Content script for interacting with web pages
console.log('MCP Browser Bridge content script loaded');
// Listen for messages from the background script
chrome.runtime.onMessage.addListener((request, sender, sendResponse) => {
if (request.action === 'getPageInfo') {
sendResponse({
title: document.title,
url: window.location.href,
content: document.body.innerText
});
}
});