rentgen/test-content-script.js
2025-10-25 21:29:43 +02:00

11 lines
436 B
JavaScript

// Test content script - only for automated testing
// This script proves that the extension can inject content scripts and execute code
// Set DOM marker (standard pattern for extension testing)
if (document.body) {
document.body.setAttribute('data-rentgen-test', 'executed');
}
// Log marker that test can grep for
console.log('[RENTGEN_CONTENT_SCRIPT_TEST] Content script executed at', Date.now(), 'on', window.location.href);