Ryan Malloy 7d97fc3e3b test: add react-devtools-demo extension artifacts from testing session
Generated during browser_install_popular_extension testing to verify
Chrome extension functionality works correctly.

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-22 00:03:28 -06:00

14 lines
462 B
JavaScript

// React DevTools Background Script (Demo)
console.log('⚛️ React DevTools Demo Background Script loaded');
// Listen for extension installation
chrome.runtime.onInstalled.addListener(() => {
console.log('React DevTools Demo installed');
});
// Monitor for React pages
chrome.tabs.onUpdated.addListener((tabId, changeInfo, tab) => {
if (changeInfo.status === 'complete' && tab.url) {
console.log('Page loaded, checking for React:', tab.url);
}
});