Replies: 3 comments 4 replies
-
|
Only complicates, HTML filtering doesn't always work. |
Beta Was this translation helpful? Give feedback.
4 replies
-
|
HTML filtering is meant to remove DOM elements in the response body, before the browser parses the response. Cosmetic filtering is no different than scriptlet injection in that it works on the live DOM. These two filtering approaches do not do the same thing, they can't be conflated. |
Beta Was this translation helpful? Give feedback.
0 replies
This comment was marked as spam.
This comment was marked as spam.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I think some filters could be simplified to a simple function call in a scriptlet.
use:
which would simplify the function:
example for:
instead of:
And maybe consider specific filters like:
Beta Was this translation helpful? Give feedback.
All reactions