Skip to content

A simplified scriptlet to remove conditional cap_html_filtering elements #3313

Closed Answered by garry-ut99
K-mikaZ asked this question in Ideas
Discussion options

You must be logged in to vote

Yuki2718 : Only complicates, HTML filtering doesn't always work.

From your statement it seems that you have misunderstood OP's idea, as OP's scriptlet didn't meant to "drop using :remove() and to use only html filtering", his idea was to combine the both solutions into a single scriptlet, and let the scriptlet to detect and decide which solution to apply to an element.

But like gorhill already mentioned, html filtering and js injecting are different things: html filtering can't be injected by a +js scriptlet, as html filtering is done on a higher level: before any scriptlets are injected.

krystian3w : I see opened only #3222

1) There is also #1507. 2) From your statement it seems that…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@krystian3w
Comment options

@garry-ut99
Comment options

Answer selected by K-mikaZ
@krystian3w
Comment options

@krystian3w
Comment options

Comment options

You must be logged in to vote
0 replies

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
5 participants