Debugging
The goal of rule debugging is to confirm "whether the rule is hit" and "whether the returned URL is correct".
Enable Debug
Enable debug in settings, and the browser console will output more matching information.
Troubleshooting Steps
- Confirm if
urlmatches the target site. - Check if
src/lazyAttrhits. - Verify
r/sorder and regex. - When using
xhr, verify the selector and link. - Add logs inside
getImage/getExtSrcfor complex logic.
Common Issues
- Still thumbnail after replacement:
r/smatch insufficient or order incorrect. - Rule not effective:
urltoo broad or too narrow. - Inner page fetch failed: Selector outdated or cross-origin restriction.