Strict Sites
Some sites use strict CSP or dynamic page bootstrapping.
What to change first
- Keep
@matchexact. - Start with
@run-at document-end. - Move to
document-idleif elements load late. - Remove unnecessary
@requiredependencies.
Diagnostic pattern
javascript
const el = document.querySelector('#target');
console.log('target found:', Boolean(el), location.href);If behavior is inconsistent
- Turn on
Enhanced debugging. - Check editor script error logs.
- Disable other scripts that touch the same page.