Cleaning outside scriptlets section, scriptlets still kept for reference

gwarser 2020-04-15 23:52:21 +02:00
parent acab0ee649
commit 709d7e4a7a
1 changed files with 13 additions and 94 deletions

@ -510,31 +510,15 @@ Removes animation (artificial 8s delay) added to desktop pages supporting AMP, w
### fingerprint2.js [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/assets/resources/scriptlets.js#L929)
Defuses Fingerprintjs2. Sanitize `Fingerprint2` object.
### ~pornhub-popup-defuser.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L647)
Removed. Sets specific localStorage items (`InfNumFastPops`, `InfNumFastPopsExpire`)
### ~forbes-defuser.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L697)
Removed. Fix '/forbes/welcome/' page redirection. Redirects to URL from `toURL` cookie
### nobab.js /
### ~bab-defuser.js~ [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/nobab.js)
Defuses BlockAdblock. Prevents executing of _`eval()`_ on sets of predefined payloads.
### ~phenv-defuser.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L797)
Removed. Defuses "g0yav3-lab" Anti Adblock. TODO Deprecated, sets static properties (`PHENV`)
### ~sas-defuser.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L1056)
Removed. Deprecated, Convenience, sets static properties (`Ads.display`, `Ads.refresh`)
TODO: Convenience means "patches more than one property", I keep this here, not in "Other", just in case.
### nofab.js /
### ~fuckadblock.js-3.2.0~ [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/nofab.js)
Convenience, Sanitize `FuckAdBlock`, `BlockAdBlock`, `SniffAdBlock`, `fuckAdBlock`, `blockAdBlock`, `sniffAdBlock` properties.
Often used as redirect in network filters. TODO: copy to redirect?
### ~lemonde-defuser.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L1085)
Removed. Sets specific localStorage item (`lmd_me_displayed`)
### popads-dummy.js [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/popads-dummy.js)
Convenience, sets static properties (`PopAds`, `popns`)
@ -542,22 +526,9 @@ Convenience, sets static properties (`PopAds`, `popns`)
### ~popads.net.js~ [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/popads.js)
Convenience, abort-on-property-write.js (`PopAds`, `popns`), _throws_ "`magic`"
### ~rtlfr-defuser.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L1091)
Removed. Deprecated by `:style()` cosmetic filter.
Applies `overflow: auto` style to document body _element_ after window `load` event.
### ~uabinject-defuser.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L640)
Removed. Defuses Addefend, convenience, sets static properties (`trckd`, `uabpdl`, `uabInject`, `uabDetect`)
### ~impspcabe-defuser.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L1172)
Removed. Deprecated, Convenience, sets static properties (`_impspcabe`, `_impspcabe_alpha`, `_impspcabe_beta`, `_impspcabe_path`) TODO: not used, static properties, cannot be set to `about:blank` by sciptlets is this really needed, used on 4 domains
### gpt-defuser.js [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/assets/resources/scriptlets.js#L700)
Deprecated, Convenience, sets static properties (`_resetGPT`, `resetGPT`, `resetAndLoadGPTRecovery`, `_resetAndLoadGPTRecovery`, `setupGPT`, `setupGPTuo`)
### ~palacesquare.rambler.ru-defuser.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L1913)
Removed. Aborts creation of Promise when executor content matches 'getRandomSelector' (_throws_ `Error`) TODO: Freezes `Promise` properties?
### adfly-defuser.js [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/assets/resources/scriptlets.js#L805)
Defuses anti adblock on adfly shortened links.
@ -586,7 +557,6 @@ font, image, media, object, script, stylesheet, subdocument, xmlhttprequest
- ~3x2-transparent.png~ 3x2.png `image/png;base64` `$image` [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/3x2.png)
- ~32x32-transparent.png~ 32x32.png `image/png;base64` `$image` [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/32x32.png)
- Source code
- ~noopcss~ Removed. `text/css` `$stylesheet` [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L35)
- ~noopframe~ noop.html `text/html` `$subdocument` [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/noop.html)
- ~noopjs~ noop.js `application/javascript` `$script` [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/noop.js)
- ~nooptext~ noop.txt `text/plain` `$xmlhttprequest` [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/noop.txt)
@ -609,32 +579,44 @@ TODO: object and font resources are missing? Find discussion about adding them o
### addthis_widget.js /
### ~addthis.com/addthis_widget.js~ [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/addthis_widget.js)
### amazon_ads.js /
### ~amazon-adsystem.com/aax2/amzn_ads.js~ [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/amazon_ads.js)
### monkeybroker.js /
### ~d3pkae9owd2lcf.cloudfront.net/mb105.js~ [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/monkeybroker.js)
### doubleclick_instream_ad_status.js /
### ~doubleclick.net/instream/ad_status.js~ [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/doubleclick_instream_ad_status.js)
### google-analytics_ga.js /
### ~google-analytics.com/ga.js~ [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/google-analytics_ga.js)
### google-analytics_analytics.js /
### ~google-analytics.com/analytics.js~ [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/google-analytics_analytics.js)
### google-analytics_inpage_linkid.js /
### ~google-analytics.com/inpage_linkid.js~ [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/google-analytics_inpage_linkid.js)
### google-analytics_cx_api.js /
### ~google-analytics.com/cx/api.js~ [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/google-analytics_cx_api.js)
### googletagservices_gpt.js /
### ~googletagservices.com/gpt.js~ [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/googletagservices_gpt.js)
### googletagmanager_gtm.js /
### ~googletagmanager.com/gtm.js~ [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/googletagmanager_gtm.js)
### googlesyndication_adsbygoogle.js /
### ~googlesyndication.com/adsbygoogle.js~ [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/googlesyndication_adsbygoogle.js)
### scorecardresearch_beacon.js /
### ~scorecardresearch.com/beacon.js~ [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/scorecardresearch_beacon.js)
### outbrain-widget.js /
### ~widgets.outbrain.com/outbrain.js~ [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/outbrain-widget.js)
### hd-main.js [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/hd-main.js)
### ~xvideos.com.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L1477)
### disqus_forums_embed.js AND disqus_embed.js /
### ~disqus.com/forums/*/embed.js~ [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/disqus_forums_embed.js) AND ~disqus.com/embed.js~ [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/disqus_embed.js)
@ -649,87 +631,24 @@ Twitch stream embedded ads bypasser
## Other
Deprecated by general purpose scriptlets / outdated (please move to proper section if still used).
### ~antiAdBlock.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L232)
Removed. Sanitize `antiAdBlock.onDetected`, `antiAdBlock.onNotDetected`
### ~pornhub-sanitizer.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L666)
Removed. Removes ad frames on Pornhub (`block_logic`)
### ~nr-unwrapper.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L1191)
Removed. Fix memory leaks on spotify, newrelic. https://github.com/uBlockOrigin/uAssets/issues/36
***
### golem.de.js [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/assets/resources/scriptlets.js#L756)
Deprecated, addEventListener-defuser
### ~uAssets-17~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L168)
Removed. Deprecated, setTimeout-defuser
### ~last.fm.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L1634)
Removed. Deprecated, setTimeout-defuser
### ~ytad-defuser.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L985)
Removed. Deprecated, setTimeout-defuser, fix for YouTube "An error occured"
***
### ~bcplayer-defuser.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L909)
Removed. Deprecated, sets static properties (`bcPlayer.ads`)
### ~wpredirect-defuser.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L714)
Removed. Deprecated, sets static properties (`TWP.Identity.initComplete`)
### ~kissanime-defuser.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L784)
Removed. Deprecated, sets static properties (`DoDetect1`, `DoDetect2`, `isBlockAds2`)
### ~__$dc-defuser.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L1364)
Removed. Deprecated, sets static properties (`Math.mt_random`), _throws_ `TypeError`
### upmanager-defuser.js [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/assets/resources/scriptlets.js#L777)
Deprecated, sets static properties (`upManager`)
### ~r3z-defuser.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L1596)
Removed. Deprecated, sets static properties (`_r3z.jq`, `_r3z.pub`)
### ~folha-de-sp.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L1254)
Removed. Deprecated, sets static properties (`folha_ads`)
### chartbeat.js /
### ~static.chartbeat.com/chartbeat.js~ [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/chartbeat.js)
Deprecated, sets static properties (`pSUPERFLY.activity`, `pSUPERFLY.virtualPage`)
### ~entrepreneur.com.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L1863)
Removed. Deprecated, sets static properties (`analyticsEvent`)
### ligatus_angular-tag.js /
### ~ligatus.com/*/angular-tag.js~ [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/ligatus_angular-tag.js)
Deprecated, sets static properties (`adProtect`, `uabpdl`, `uabDetect`)
### ~openload.co.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L724)
Removed. Deprecated, sets static properties (`adblock2`, `OlPopup`, `preserve`, `turnoff`)
### ~imore-sanitizer.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L1158)
Removed. Deprecated, sets static properties (`mbn_zones`)
### ~smartadserver.com.js~ [](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/assets/resources/scriptlets.js#L794)
Removed. Deprecated, sets static properties (`SmartAdObject`, `SmartAdServerAjax`, `smartAd.LoadAds`, `smartAd.Register`)
### ~lesechos.fr.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L1573)
Removed. Deprecated, sets static properties (`checkAdBlock`)
### ~criteo.net.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L1580)
Removed. Deprecated, sets static properties (`Criteo.criteo`)
### ~goyavelab-defuser.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L684)
Removed. Deprecated, sets static properties (`_$14`)
### ~figaro-defuser.js~ [](https://github.com/uBlockOrigin/uAssets/blob/2c68a4f5456e4677cec76f2784d2c1d7abc36efb/filters/resources.txt#L1074)
Removed. Deprecated, sets static properties (`adisplaynormal`)
***