Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for
application/x-javascript
in replace=
option
Related issue: uBlockOrigin/uAssets#5090
- Loading branch information
abeadf1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also need to add MIME type :
text/javascript
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#textjavascriptabeadf1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's already supported.
abeadf1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean at abeadf1#diff-35c32f641b370cba4a5f06018c904c27241756164dfd317fa7c5698aec08c448R707 ?
abeadf1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 930 abeadf1#diff-35c32f641b370cba4a5f06018c904c27241756164dfd317fa7c5698aec08c448R930
abeadf1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gorhill Could this type added as well?:
application/ld+json
abeadf1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please provide a case justifying doing so, I want to step into code and see why it's needed with my own eyes, like the case here.