Skip to content

Add the ability for rpnt/rmnt type scriptlets to intercept text inside data: urls #3162

Closed Answered by gorhill
uBlock-user asked this question in General
Discussion options

You must be logged in to vote

rmnt/rpnt are specifically made to work on text nodes at DOM creation time, anything beyond that is incompatible with the code implementing these scriptlets -- these scriptlets are designed to do their job as fast as possible at DOM creation time through DOM mutation events, and trying to make them do more than this would result in an unmaintainable mess of code paths with difficult to predict behavior.

Before thinking of new scriptlets, let's try solution using currently supported syntax. How about:

||daotranslate.us^$csp=script-src 'self' *

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@uBlock-user
Comment options

uBlock-user Mar 8, 2024
Collaborator Author

@gorhill
Comment options

@uBlock-user
Comment options

uBlock-user Mar 8, 2024
Collaborator Author

Answer selected by uBlock-user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed issue has been addressed
2 participants