AdguardTeam / Scriptlets

AdGuard scriptlets library
GNU General Public License v3.0
138 stars 27 forks source link

Improve logging in scriptlets #411

Closed AdamWr closed 2 weeks ago

AdamWr commented 4 months ago

In some scriptlets which replace content (like xml-prune, m3u-prune, trusted-replace-fetch-response, trusted-replace-node-text, trusted-replace-xhr-response, maybe in others too) it would be useful if there would be additional option to log content before and after modifying it. It would be helpful for debugging and creating rules.

Maybe related to - https://github.com/AdguardTeam/Scriptlets/issues/305