Moved to: https://github.com/gorhill/uBlock/wiki/Resources-Library
-
-
Save gwarser/d1aabf7b013a7f3ae80dfcf6fb843abf to your computer and use it in GitHub Desktop.
@uBlock-user my idea was to drop these Object.defineProperty
for specific pages - they are absolete and skip these site-specific-specific like google-analytics.com/ga.js
. These fuckadblock
-like should be listed.
Side note - notifications does not work here :(
@gwarser Some site specific scriptlets are either redundant or useless as of today, so just don't bother adding them. Yeah github's still broken when it comes to notifications.
Hmmm, some scriptlets were designed to be injected by redirect filter... "site-specific-specific"?
Mention them under redirectable scriptlets?, anyways, thanks for doing this.
For tomorrow - how is this working?
9anime.*##script:inject(set-constant.js, Math.random, trueFunc)
9anime.*##script:inject(set-constant.js, Object.defineProperty, noopFunc)
Doesn't do anything on my end so if I disable it with 9anime.*#@#script:inject(set-constant.js, Math.random, trueFunc)
makes no difference.
9anime.*##script:inject(set-constant.js, Object.defineProperty, noopFunc)
for some reason started causing the tabunder script on 9anime to react, so I had to disable it.
There is no defined order for filters and set-constant.js
relies on Object.defineProperty
so second filter may defuse first one. There is 8 filters like this in uBlock filters.
Deprecated -> Obsolete ?
Heh, looks like "constant" in set-constant.js means you can set property to predefined (constant) value. It does not make property immutable.
List out #Site-specific scriptlets..