12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- ! Title: uBO-noMoreGiphy
- ! Version: 2.20.7.1
- ! Expires: 7 days
- ! Last Modified: 2020-07-01T23:44:53+00:00
- ! Checksum (SHA256): e636643fdc1c8d1cb1b6b55ceb0d609e6b44ffc77b562fbcdebcf2276fdc752d
- ! Description: noMoreGiphy is designed for AdGuard & uBlock Origin to block the resources needed by Giphy to function.
- ! License: CC0
- ! Maintainer: intr0
- ! Contact: support@intr0.com
- !
- ! uBO Firefox Ruleset
- !
- !#if env_firefox
- !
- ! CSP rules:
- !
- ! default, script, style, img, media, connect, font rules are necessary to override policy set by Giphy.
- ! object possibly necessary if any <embed> (whether non-compliant or compliant with HTML5's living-standard) are in use; <object> (depreciated); or <applet> (depreciated) tags are in use.
- ! worker-src: - inhibit, e.g. EventListeners;
- ! frame-src: inhibit Frame (depreciated) & iFrame.
- ! sandbox (with no permissions given): turns Giphy.com into a restricted environment unable to perform several actions including: controlling specific user-resources such as the Storage Access API - Web Storage, IndexedDB & DOM Cache.
- !
- *$csp=connect-src 'none',domain=giphy.com
- *$csp=default-src 'none',important,domain=giphy.com
- *$csp=font-src 'none',important,domain=giphy.com
- *$csp=frame-src 'none',important,domain=giphy.com
- *$csp=img-src 'none',domain=giphy.com
- *$csp=media-src 'none',important,domain=giphy.com
- *$csp=object-src 'none',important,domain=giphy.com
- *$csp=sandbox,important,domain=giphy.com
- *$csp=script-src 'none',domain=giphy.com
- *$csp=style-src 'none',important,domain=giphy.com
- *$csp=worker-src 'none',important,domain=giphy.com
- !
- ! Block scripts served from fbcdn:
- !
- ||fbcdn.$script,important,domain=giphy.com
- !
- ! "resource" sanitation/disinfection (scripts, images & network requests):
- !
- ||giphy.$image,redirect=1x1.gif,important
- ||giphy.$script,redirect=noop.js,important
- ||giphy.$xhr,redirect=noop.txt,important
- !
- ! Disinfect Google Tracking:
- !
- ||google-analytics.$script,redirect=google-analytics_inpage_linkid.js,domain=giphy.com,important
- ||googletagmanager.$script,redirect=googletagmanager_gtm.js,domain=giphy.com,important
- !
- ! Disinfect Amazon Images:
- !
- ||cloudfront.$image,redirect=2x2.png,important,domain=giphy.com
- !
- ! Disinfect {localStorage}:
- !
- ||giphy.com/{localStorage}*$redirect=cookie-remover.js,important
- !
- !#endif
|