diff --git a/docs/ubo.txt b/docs/ubo.txt new file mode 100644 index 0000000..a822635 --- /dev/null +++ b/docs/ubo.txt @@ -0,0 +1,903 @@ +||bc.googleusercontent.com^ +||cdn-*.github.com^ +!||gpt.ui.backend-3.com/_app/version.json +||doubleclick.net^ +||googlesyndication.com^ +||googleadservices.com^ +||google-analytics.com^ +||googletagmanager.com^ +||adservice.google.com^ + +! google marketing / advertising request paths +||google.com/pagead/^ +||google.com/ads/^ +||google.com/ccm/collect^ +||google.com/g/collect^ +||google.com/collect^ + +! Google Analytics endpoints +||google-analytics.com/analytics.js^ +||google-analytics.com/g/collect^ +||google-analytics.com/j/collect^ +||stats.g.doubleclick.net^ +||ad.doubleclick.net^ +||cm.g.doubleclick.net^ +||pagead2.googlesyndication.com^ + +!||analytics.apple.com^ +!||oscp.apple.com^ +!||static.ips.apple.com^ +!||apple.com.akadns.net^ +!||apple.com.edgesuite.net^ +||metrics.apple.com^ +||metrics.icloud.com^ +||securemetrics.apple.com^ +||analytics.apple.com^ +||xp.apple.com^ +||xp.icloud.com^ +||suggestions.apple.com^ + + + + + + + + + +!! Title: ClearURLs for uBo (unofficial) +! Homepage: https://github.com/DandelionSprout/adfilt/discussions/163 +! Description: Want to use ClearURLs' tracking protection without installing another extension? This list is a (unofficial) version of the ClearURLs rules, designed for use in uBlock Origin and AdGuard. This ONLY includes the URL parameter removal functionality from ClearURLs, and not the other functions. +! Version: 2025-06-20-Deprecated +! Script last updated: 2025-2-11 +! Expires: 7 days +! Licence: https://github.com/DandelionSprout/adfilt/blob/master/LICENSE.md +! Warning: This list may break websites, and contains many problematic rules. Worse, it may even prevent other filterlists from working. There is not much the Adfilt maintainers can do, as this list is just the ClearURLs rules converted into a uBo/AdGuard filterlist. Use with caution. +! Note 1: This was based off of https://gist.github.com/rusty-snake/5cd83a87d680ecbd03e79a1a06758207, which is based off of https://github.com/ClearURLs/Rules. The maintainers of Adfilt (DandelionSprout and iam-py-test, and contributors) have made some modifications as to keep it up-to-date with the source and to fix issues. +! Note 2: Please do not use this list in Brave Shields, as it may not work properly (https://github.com/DandelionSprout/adfilt/issues/986) +! Note 3: this list can not bypass tracker redirects through third-party domains. This can be done by strict-blocking said domain and using the ability to view params on the strict-block page to bypass it. +! The Adfilt maintainers would like to thank https://github.com/rusty-snake for helping create this Python script. + +! Important statement, 25 September 2025: What seems to be upstream changes at ClearURLs has led to it using more advanced syntaxes than before that cannot even plausibly be correctly converted to adblocker syntax. Mercado Libre and Shopee in particular would be affected by it: Applying any updates from upstream to this list would in fact make the entries for those 2 sites not work anymore. This list is on its last legs, and cannot be expected to correctly work for typical users much longer. + +||amazon.*^$removeparam=/^p[fd]_rd_[a-z]*=/ +||amazon.*^$removeparam=qid +||amazon.*^$removeparam=/^srs?=/ +||amazon.*^$removeparam=/^__mk_[a-z]{1,3}_[a-z]{1,3}=/ +||amazon.*^$removeparam=spIA +||amazon.*^$removeparam=ms3_c +||amazon.*^$removeparam=/^[a-z%0-9]*ie=/ +||amazon.*^$removeparam=refRID +||amazon.*^$removeparam=/^colii?d=/ +||amazon.*^$removeparam=/^[^a-z%0-9]adId=/ +||amazon.*^$removeparam=qualifier +||amazon.*^$removeparam=_encoding +||amazon.*^$removeparam=smid +||amazon.*^$removeparam=field-lbr_brands_browse-bin +||amazon.*^$removeparam=/^ref_?=/ +||amazon.*^$removeparam=th +||amazon.*^$removeparam=sprefix +||amazon.*^$removeparam=crid +||amazon.*^$removeparam=keywords +||amazon.*^$removeparam=/^cv_ct_[a-z]+=/ +||amazon.*^$removeparam=linkCode +||amazon.*^$removeparam=creativeASIN +||amazon.*^$removeparam=ascsubtag +||amazon.*^$removeparam=aaxitk +||amazon.*^$removeparam=hsa_cr_id +||amazon.*^$removeparam=/^sb-ci-[a-z]+=/ +||amazon.*^$removeparam=dchild +||amazon.*^$removeparam=camp +||amazon.*^$removeparam=creative +||amazon.*^$removeparam=content-id +||amazon.*^$removeparam=dib +||amazon.*^$removeparam=dib_tag +||amazon.*^$removeparam=social_share +||amazon.*^$removeparam=starsLeft +||amazon.*^$removeparam=skipTwisterOG +||msn.com^$removeparam=cvid +||msn.com^$removeparam=ocid +||amazon.*/s?$removeparam=/^p[fd]_rd_[a-z]*=/ +||amazon.*/s?$removeparam=qid +||amazon.*/s?$removeparam=/^srs?=/ +||amazon.*/s?$removeparam=/^__mk_[a-z]{1,3}_[a-z]{1,3}=/ +||amazon.*/s?$removeparam=spIA +||amazon.*/s?$removeparam=ms3_c +||amazon.*/s?$removeparam=/^[a-z%0-9]*ie=/ +||amazon.*/s?$removeparam=refRID +||amazon.*/s?$removeparam=/^colii?d=/ +||amazon.*/s?$removeparam=/^[^a-z%0-9]adId=/ +||amazon.*/s?$removeparam=qualifier +||amazon.*/s?$removeparam=_encoding +||amazon.*/s?$removeparam=smid +||amazon.*/s?$removeparam=field-lbr_brands_browse-bin +||amazon.*/s?$removeparam=/^ref_?=/ +||amazon.*/s?$removeparam=th +||amazon.*/s?$removeparam=sprefix +||amazon.*/s?$removeparam=crid +||amazon.*/s?$removeparam=/^cv_ct_[a-z]+=/ +||amazon.*/s?$removeparam=linkCode +||amazon.*/s?$removeparam=creativeASIN +||amazon.*/s?$removeparam=ascsubtag +||amazon.*/s?$removeparam=aaxitk +||amazon.*/s?$removeparam=hsa_cr_id +||amazon.*/s?$removeparam=/^sb-ci-[a-z]+=/ +||amazon.*/s?$removeparam=dchild +||amazon.*/s?$removeparam=camp +||amazon.*/s?$removeparam=creative +||google.*^$removeparam=/^bi[a-z]*=/ +||google.*^$removeparam=/^gfe_[a-z]*=/ +||google.*^$removeparam=ei +||google.*^$removeparam=/^gs_[a-z]*=/ +||google.*^$removeparam=oq +||google.*^$removeparam=esrc +||google.*^$removeparam=uact +||google.*^$removeparam=cd +||google.*^$removeparam=cad +||google.*^$removeparam=/^gws_[a-z]*=/ +||google.*^$removeparam=atyp +||google.*^$removeparam=vet +||google.*^$removeparam=_u +||google.*^$removeparam=je +||google.*^$removeparam=dcr +||google.*^$removeparam=ie +||google.*^$removeparam=sei +||google.*^$removeparam=dpr +||google.*^$removeparam=/^btn[a-z]*=/ +||google.*^$removeparam=cd +||google.*^$removeparam=cad +||google.*^$removeparam=uact +||google.*^$removeparam=aqs +||google.*^$removeparam=sourceid +||google.*^$removeparam=sxsrf +||google.*^$removeparam=rlz +||google.*^$removeparam=i-would-rather-use-firefox +||google.*^$removeparam=pcampaignid +||google.*^$removeparam=/^sca_(esv|upv)=/ +||google.*^$removeparam=iflsig +||google.*^$removeparam=fbs +||google.*^$removeparam=ictx +||google.*^$removeparam=cshid +$removeparam=/^utm(_[a-z_]*)?=/ +$removeparam=/^ga_[a-z_]+=/ +$removeparam=yclid +$removeparam=_openstat +$removeparam=/^fb_action_(types|ids)=/ +$removeparam=/^fb_(source|ref)=/ +$removeparam=fbclid +$removeparam=/^action_(object|type|ref)_map=/ +$removeparam=gs_l +$removeparam=mkt_tok +$removeparam=/^hmb_(campaign|medium|source)=/ +$removeparam=gclid +$removeparam=srsltid +$removeparam=/^otm_[a-z_]*=/ +$removeparam=cmpid +$removeparam=os_ehash +$removeparam=_ga +$removeparam=_gl +$removeparam=__twitter_impression +$removeparam=/^wt_?z?mc=/ +$removeparam=wtrid +$removeparam=dclid +$removeparam=Echobox +$removeparam=spm +$removeparam=/^vn(_[a-z]*)+=/ +$removeparam=tracking_source +$removeparam=ceneo_spo +$removeparam=/^itm_(campaign|medium|source)=/ +$removeparam=__hsfp +$removeparam=__hssc +$removeparam=__hstc +$removeparam=_hsenc +$removeparam=__s +$removeparam=hsCtaTracking +$removeparam=/^mc_(eid|cid|tc)=/ +$removeparam=ml_subscriber +$removeparam=ml_subscriber_hash +$removeparam=msclkid +$removeparam=oly_anon_id +$removeparam=oly_enc_id +$removeparam=rb_clickid +$removeparam=s_cid +$removeparam=vero_conv +$removeparam=vero_id +$removeparam=wickedid +$removeparam=twclid +$removeparam=feature,domain=youtube.com|youtu.be +$removeparam=gclid,domain=youtube.com|youtu.be +$removeparam=kw,domain=youtube.com|youtu.be +$removeparam=si,domain=youtube.com|youtu.be +$removeparam=pp,domain=youtube.com|youtu.be +||facebook.com^$removeparam=/^hc_[a-z_%\[\]0-9]*=/ +||facebook.com^$removeparam=/^[a-z]*ref[a-z]*=/ +||facebook.com^$removeparam=__tn__ +||facebook.com^$removeparam=eid +||facebook.com^$removeparam=/^__(xts|cft)__(\[|%5B)\d(\]|%5D)=/ +||facebook.com^$removeparam=comment_tracking +||facebook.com^$removeparam=dti +||facebook.com^$removeparam=app +||facebook.com^$removeparam=video_source +||facebook.com^$removeparam=ftentidentifier +||facebook.com^$removeparam=pageid +||facebook.com^$removeparam=padding +||facebook.com^$removeparam=ls_ref +||facebook.com^$removeparam=action_history +||facebook.com^$removeparam=tracking +||facebook.com^$removeparam=referral_code +||facebook.com^$removeparam=referral_story_type +||facebook.com^$removeparam=eav +||facebook.com^$removeparam=sfnsn +||facebook.com^$removeparam=idorvanity +||facebook.com^$removeparam=wtsid +||facebook.com^$removeparam=rdc +||facebook.com^$removeparam=rdr +||facebook.com^$removeparam=paipv +||facebook.com^$removeparam=_nc_x +||facebook.com^$removeparam=_rdr +||facebook.com^$removeparam=mibextid +||twitter.com^$removeparam=/^(ref_?)?src=/ +||twitter.com^$removeparam=cn +||twitter.com^$removeparam=ref_url +||twitter.com^$removeparam=t +||x.com^$removeparam=/^(ref_?)?src=/ +||x.com^$removeparam=s +||x.com^$removeparam=cn +||x.com^$removeparam=ref_url +||x.com^$removeparam=t +||reddit.com^$removeparam=%24deep_link +||reddit.com^$removeparam=/^\x24deep_link=/ +||reddit.com^$removeparam=correlation_id +||reddit.com^$removeparam=ref_campaign +||reddit.com^$removeparam=ref_source +||reddit.com^$removeparam=%243p +||reddit.com^$removeparam=/^\x243p=/ +||reddit.com^$removeparam=%24original_url +||reddit.com^$removeparam=/^\x24original_url=/ +||reddit.com^$removeparam=_branch_match_id +||reddit.com^$removeparam=share_id +||netflix.com^$removeparam=trackId +||netflix.com^$removeparam=tctx +||netflix.com^$removeparam=/^jb[a-z]*?=/ +||techcrunch.com^$removeparam=ncid +||techcrunch.com^$removeparam=sr +||techcrunch.com^$removeparam=sr_share +||techcrunch.com^$removeparam=guccounter +||techcrunch.com^$removeparam=guce_referrer +||techcrunch.com^$removeparam=guce_referrer_sig +||bing.*^$removeparam=sk +||bing.*^$removeparam=sp +||bing.*^$removeparam=sc +||bing.*^$removeparam=qs +||bing.*^$removeparam=qp + +||twitch.com^$removeparam=tt_medium +||twitch.com^$removeparam=tt_content + +||indeed.com^$removeparam=from +||indeed.com^$removeparam=alid +||indeed.com^$removeparam=/^[a-z]*tk=/ + +||ebay.*^$removeparam=_trkparms +||ebay.*^$removeparam=_trksid +||ebay.*^$removeparam=_from +||ebay.*^$removeparam=hash +||cnet.com^$removeparam=ftag +||imdb.com^$removeparam=ref_ +||imdb.com^$removeparam=/^pf_rd_[a-z]*=/ +||walmart.com^$removeparam=u1 +||walmart.com^$removeparam=/^ath[a-z]*=/ +||net-parade.it^$removeparam=pl +||prvnizpravy.cz^$removeparam=xid +||youku.com^$removeparam=tpa +||steampowered.com^$removeparam=snr +||shutterstock.com^$removeparam=src +||mozilla.org^$removeparam=src +||mozilla.org^$removeparam=platform +||mozilla.org^$removeparam=redirect_source +||readdc.com^$removeparam=ref +||github.com^$removeparam=email_token +||github.com^$removeparam=email_source +||aliexpress.*^$removeparam=ws_ab_test +||aliexpress.*^$removeparam=btsid +||aliexpress.*^$removeparam=algo_expid +||aliexpress.*^$removeparam=algo_pvid +||aliexpress.*^$removeparam=gps-id +||aliexpress.*^$removeparam=/^scm[_a-z-]*=/ +||aliexpress.*^$removeparam=cv +||aliexpress.*^$removeparam=af +||aliexpress.*^$removeparam=mall_affr +||aliexpress.*^$removeparam=sk +||aliexpress.*^$removeparam=dp +||aliexpress.*^$removeparam=terminal_id +||aliexpress.*^$removeparam=aff_request_id +||mozillazine.org^$removeparam=sid +||giphy.com^$removeparam=ref +||nypost.com^$removeparam=__twitter_impression +||linkedin.com^$removeparam=refId +||linkedin.com^$removeparam=trk +||linkedin.com^$removeparam=/^li[a-z]{2}=/ +||linkedin.com^$removeparam=trackingId +||linkedin.com/learning$removeparam=u +||instagram.com^$removeparam=igshid +||instagram.com^$removeparam=igsh +||disq.us^$removeparam=cuid +||spotify.com^$removeparam=si +||yandex.*^$removeparam=lr +||yandex.*^$removeparam=redircnt +||healio.com^$removeparam=ecp +||healio.com^$removeparam=m_bt +||snapchat.com^$removeparam=sc_referrer +||snapchat.com^$removeparam=sc_ua +||medium.com^$removeparam=source +||wps.com^$removeparam=from +||firefox.com^$removeparam=form_type +||mozilla.org^$removeparam=as +||kevinroebert.gitlab.io/ClearUrls/void/index.html$removeparam=test +||test.clearurls.xyz/void/index.html$removeparam=test +||marketscreener.com^$removeparam=type_recherche +||marketscreener.com^$removeparam=mots +||marketscreener.com^$removeparam=noredirect +||marketscreener.com^$removeparam=RewriteLast +||marketscreener.com^$removeparam=lien +||marketscreener.com^$removeparam=aComposeInputSearch +||marketscreener.com^$removeparam=type_recherche_forum +||marketscreener.com^$removeparam=add_mots +||marketscreener.com^$removeparam=countview +||marketscreener.com/search/?$removeparam=type_recherche +||marketscreener.com/search/?$removeparam=noredirect +||marketscreener.com/search/?$removeparam=RewriteLast +||marketscreener.com/search/?$removeparam=lien +||marketscreener.com/search/?$removeparam=aComposeInputSearch +||marketscreener.com/search/?$removeparam=type_recherche_forum +||marketscreener.com/search/?$removeparam=countview +||bestbuy.com^$removeparam=irclickid +||bestbuy.com^$removeparam=irgwc +||bestbuy.com^$removeparam=loc +||bestbuy.com^$removeparam=acampID +||bestbuy.com^$removeparam=mpid +||bestbuy.com^$removeparam=intl +||tiktok.com^$removeparam=u_code +||tiktok.com^$removeparam=preview_pb +||tiktok.com^$removeparam=_d +||tiktok.com^$removeparam=_t +||tiktok.com^$removeparam=_r +||tiktok.com^$removeparam=timestamp +||tiktok.com^$removeparam=user_id +||tiktok.com^$removeparam=share_app_name +||tiktok.com^$removeparam=share_iid +||tiktok.com^$removeparam=source + +||zillow.com^$removeparam=rtoken +||realtor.com^$removeparam=ex +||realtor.com^$removeparam=identityID +||realtor.com^$removeparam=MID +||realtor.com^$removeparam=RID +||redfin.com^$removeparam=riftinfo +||epicgames.com^$removeparam=epic_affiliate +||epicgames.com^$removeparam=epic_gameId +||thunderbird.net^$removeparam=src +||cnbc.com^$removeparam=__source +||roblox.com^$removeparam=refPageId +||cell.com^$removeparam=_returnURL +||flipkart.com^$removeparam=/^otracker.?=/ +||flipkart.com^$removeparam=ssid +||flipkart.com^$removeparam=/^[cilp]id=/ +||flipkart.com^$removeparam=marketplace +||flipkart.com^$removeparam=store +||flipkart.com^$removeparam=srno +||flipkart.com^$removeparam=store +||flipkart.com^$removeparam=ppn +||flipkart.com^$removeparam=ppt +||flipkart.com^$removeparam=fm +||flipkart.com^$removeparam=collection-tab-name +||flipkart.com^$removeparam=/^sattr\[\]=/ +||flipkart.com^$removeparam=/^p\[\]=/ +||flipkart.com^$removeparam=st +||idealo.de^$removeparam=sid +||idealo.de^$removeparam=src +||idealo.de^$removeparam=siteId +||idealo.de^$removeparam=lcb +||idealo.de^$removeparam=leadOutUrl +||idealo.de^$removeparam=offerListId +||idealo.de^$removeparam=osId +||idealo.de^$removeparam=cancelUrl +||idealo.de^$removeparam=disc +||teletrader.com^$removeparam=internal +||deeplearning.ai^$removeparam=ecid +||deeplearning.ai^$removeparam=_hsmi +||deeplearning.ai^$removeparam=_hsenc +||gamespot.com^$removeparam=PostType +||gamespot.com^$removeparam=ServiceType +||gamespot.com^$removeparam=ftag +||gamespot.com^$removeparam=UniqueID +||gamespot.com^$removeparam=TheTime +||tokopedia.com^$removeparam=src +||tokopedia.com^$removeparam=trkid +||tokopedia.com^$removeparam=whid +||wkorea.com^$removeparam=ddw +||wkorea.com^$removeparam=ds_ch +||weibo.*^$removeparam=weibo_id +||weibo.*^$removeparam=dt_dapp +||fiverr.com^$removeparam=context_referrer +||fiverr.com^$removeparam=source +||fiverr.com^$removeparam=ref_ctx_id +||fiverr.com^$removeparam=funnel +||etsy.com^$removeparam=click_key +||etsy.com^$removeparam=click_sum +||etsy.com^$removeparam=organic_search_click + +||mercadolibre.com^$removeparam=DEAL_ID +||mercadolibre.com^$removeparam=L +||mercadolibre.com^$removeparam=S +||mercadolibre.com^$removeparam=T +||mercadolibre.com^$removeparam=V +||mercadolibre.com^$removeparam=pdp_filters +||mercadolibre.com^$removeparam=position +||mercadolibre.com^$removeparam=search_layout +||mercadolibre.com^$removeparam=tracking_id +||mercadolibre.com^$removeparam=type +||mercadolibre.com^$removeparam=/^c_[_a-zA-Z]+=/ +||mercadolibre.com^$removeparam=/^me\.[_a-zA-Z]+=/ +||mercadolibre.com^$removeparam=/^reco_[_a-zA-Z]+=/ +||quizlet.com^$removeparam=funnelUUID +||bbc.com^$removeparam=xtor +||bbc.com^$removeparam=/^at_[a-z_]+=/ +||airbnb.*^$removeparam=federated_search_id +||airbnb.*^$removeparam=search_type +||airbnb.*^$removeparam=source +||airbnb.*^$removeparam=source_impression_id +||kahoot.it^$removeparam=refer_method +||goodreads.com^$removeparam=from_search +||goodreads.com^$removeparam=from_srp +||goodreads.com^$removeparam=qid +||goodreads.com^$removeparam=rank +||goodreads.com^$removeparam=ac +||thetimes.co.uk^$removeparam=shareToken +||metro.co.uk^$removeparam=ito +||forbes.com^$removeparam=sh +@@/^https?:\/\/([a-z0-9-]+\.)*?amazon(\.[a-z]{2,}){1,}\/gp\/.*?(redirector.html|cart\/ajax-update.html|video\/api\/)/$removeparam +@@/^https?:\/\/([a-z0-9-]+\.)*?amazon(\.[a-z]{2,}){1,}\/(hz\/reviews-render\/ajax\/|message-us\?|s\?)/$removeparam +@@||mail.google.com/mail/u/$removeparam +@@||accounts.google.com/o/oauth2/$removeparam +@@||accounts.google.com/signin/oauth/$removeparam +@@/^https?:\/\/(docs|accounts)\.google(\.[a-z]{2,}){1,}/$removeparam +@@/^https?:\/\/([a-z0-9-\.])*(chat|drive)\.google\.com\/videoplayback/$removeparam +@@/^https?:\/\/([a-z0-9-]+\.)*?google(\.[a-z]{2,}){1,}(\/upload)?\/drive\//$removeparam +@@||news.google.com.*?hl=$removeparam +@@/^https?:\/\/([a-z0-9-]+\.)*?google(\.[a-z]{2,}){1,}\/s\?tbm=map.*?gs_[a-z]*=./$removeparam +@@/^https?:\/\/([a-z0-9-]+\.)*?google(\.[a-z]{2,}){1,}\/(complete\/search|setprefs|searchbyimage)/$removeparam +@@/^https?:\/\/([a-z0-9-]+\.)*?google(\.[a-z]{2,}){1,}\/(appsactivity|aclk\?)/$removeparam +@@/^https?:\/\/([a-z0-9-]+\.)*?google(\.[a-z]{2,}){1,}\/safe[-]?browsing\/([^&]+)/$removeparam +@@||matrix.org/_matrix/$removeparam +||@@/^https?:\/\/([a-z0-9-]+\.)*?(cloudflare\.com|prismic\.io|tangerine\.ca|gitlab\.com)/$removeparam +@@||myaccount.google.*^$removeparam +@@||accounts.google.*^$removeparam +@@/^https?:\/\/([a-z0-9-]+\.)*?gcsip\.(com|nl)[^?]*\?.*?&?ref_?=./$removeparam +@@/^https?:\/\/[^/]+/[^/]+/[^/]+\/-\/refs\/switch[^?]*\?.*?&?ref_?=./$removeparam +@@/^https?:\/\/bugtracker\.[^/]*\/[^?]+\?.*?&?ref_?=[^/?&]*/$removeparam +@@||comment-cdn.9gag.com/*comment-list.json?$removeparam +@@||battle.net/login$removeparam +@@||blizzard.com/oauth2$removeparam +@@||kreditkarten-banking.lbb.de^$removeparam +@@||www.cyberport.de/adscript.php$removeparam +@@/^https?:\/\/([a-z0-9-]+\.)*?tweakers\.net\/ext\/lt\.dsp\?.*?(%3F)?&?ref_?=./$removeparam +@@/^https?:\/\/git(lab)?\.[^/]*\/[^?]+\?.*?&?ref_?=[^/?&]*/$removeparam +@@||amazon.*/message-us?$removeparam +@@||authorization.td.com^$removeparam +@@||support.steampowered.com^$removeparam +@@||privacy.vakmedianet.nl/*ref=$removeparam +@@||sso.serverplan.com/manage2fa/check?ref=$removeparam +@@||login.meijer.com/*?ref=$removeparam +@@/^https?:\/\/([a-z0-9-]+\.)*?facebook\.com\/(login_alerts|ajax|should_add_browser)//$removeparam +@@||facebook.com/groups/member_bio/bio_dialog/$removeparam +@@||api.taiga.io^$removeparam +@@||gog.com/click.html$removeparam +@@||login.progressive.com^$removeparam +@@||www.sephora.com/api/$removeparam +@@||www.contestgirl.com^$removeparam +@@||agenciatributaria.gob.es^$removeparam +@@||login.ingbank.pl^$removeparam +||@@|wss://zoom.us^$removeparam +@@||api.bilibili.com^$removeparam +@@||onet.pl/*?*utm_campaign=$removeparam +@@||stripe.com/*?*referrer=$removeparam +@@||lichess.org/login*referrer=$removeparam +@@||microsoft.com/*research/redirect$removeparam +@@||like.co/api/like/likebutton/*?*referrer=$removeparam +@@||button.like.co/in/*referrer=$removeparam +@@||www.mma.go.kr^$removeparam +@@||github.com^$removeparam +@@||billiger.de/*mc=$removeparam +@@||youtrack.cloud^$removeparam +@@||cu.bankid.com^$removeparam +@@||login.aliexpress.us^$removeparam +@@||ieeexplore.ieee.org^$removeparam +@@||sendgb.com/upload/?*utm_source=$removeparam +@@||firebaseappdistribution.googleapis.com/app-binary-downloads/projects/?*utm_source=$removeparam +@@||amazon-adsystem.*/v3/oor?$removeparam +@@||youtube.com/signin?$removeparam +@@/^https?:\/\/([a-z0-9-]+\.)*?facebook\.com\/.*?(plugins|ajax)\//$removeparam +@@/^https?:\/\/([a-z0-9-]+\.)*?facebook\.com\/dialog\/(share|send)/$removeparam +@@||facebook.com/groups/member_bio/bio_dialog/$removeparam +@@||facebook.com/photo.php?$removeparam +@@||facebook.com/privacy/specific_audience_selector_dialog/$removeparam +@@||facebook.com/photo/download/$removeparam +@@||twitter.com/i/redirect$removeparam +@@||x.com/i/redirect$removeparam +@@||bing.*/WS/redirect/$removeparam +@@||indeed.com/rc/clk$removeparam +@@||mozilla.org/api$removeparam +@@||marketscreener.com/search/?$removeparam +! This is an allowlist added by the Adfilt maintainers +@@||tix.axs.com^$removeparam=utm_campaign +@@||tix.axs.com^$removeparam=utm_content +@@||tix.axs.com^$removeparam=utm_medium +@@||tix.axs.com^$removeparam=utm_source +@@||tix.axs.com^$removeparam=utm_term +! https://github.com/DandelionSprout/adfilt/issues/678 +@@||transfernow.net/*/dltransfer$removeparam +! https://github.com/DandelionSprout/adfilt/discussions/163#discussioncomment-4081177 +! https://github.com/ClearURLs/Rules/issues/54 +@@||webapps.sftc.org/captcha/captcha.dll$removeparam +! https://github.com/ClearURLs/Rules/issues/46 +@@||track.sendle.com/tracking$removeparam=ref +! https://github.com/DandelionSprout/adfilt/issues/1012 +@@||google.com^$xmlhttprequest,removeparam=ei + + + + +! +! hide the text label of the dislike/share/download/report/save buttons +! new format june 2023 +www.youtube.com###actions.ytd-watch-metadata button > div[class$="text-content"]:not(:has-text(/[\d]/)) +www.youtube.com###actions.ytd-watch-metadata ytd-button-renderer .yt-spec-button-shape-next .yt-spec-button-shape-next--button-text-content +www.youtube.com###actions.ytd-watch-metadata ytd-button-renderer .yt-spec-button-shape-next__icon:style(margin-right: -6px !important; margin-left: -6px !important;) +m.youtube.com##ytm-slim-video-action-bar-renderer button [class*="button-text-content"]:not(:has-text(/\d/)) +m.youtube.com##ytm-slim-video-action-bar-renderer ytm-button-renderer div[class$="icon"]:style(margin-right: -6px !important; margin-left: -6px !important;) + +! hide chat window when viewing streams +www.youtube.com###chat:remove() + +! hide "shorts remixing this video" shelf in the description +www.youtube.com##ytd-reel-shelf-renderer + +! don't enter / exit fullscreen on double-click +www.youtube.com##+js(aeld, dblclick) + +! hide view products +www.youtube.com##.ytp-suggested-action-badge-expanded + +! hide includes paid promotion +www.youtube.com##.ytp-paid-content-overlay + +! hide upcoming youtube videos +www.youtube.com##ytd-browse ytd-grid-video-renderer:has(ytd-thumbnail-overlay-time-status-renderer[overlay-style="UPCOMING"]) +www.youtube.com##ytd-browse ytd-rich-item-renderer:has(ytd-thumbnail-overlay-time-status-renderer[overlay-style="UPCOMING"]) +www.youtube.com##ytd-browse[page-subtype="subscriptions"] ytd-video-renderer ytd-thumbnail-overlay-time-status-renderer[overlay-style="UPCOMING"]:upward(ytd-item-section-renderer) + +! hide brand image in the player corner +youtube.com##.ytp-button.branding-img-container + +! hide "1080p Premium" in the video quality menu +!!#if env_firefox +youtube.com##.ytp-quality-menu .ytp-premium-label:upward(.ytp-menuitem) +!!#endif +!!#if env_chromium +youtube.com##.ytp-quality-menu .ytp-menuitem:has(.ytp-premium-label) +!!#endif + +! hide horizontal scrollbar on firefox +!#if env_firefox +www.youtube.com##ytd-app:style(--ytd-app-fullerscreen-scrollbar-width: -1px !important;) +!#endif + +! hide verified checkmark +www.youtube.com##.ytd-badge-supported-renderer.style-scope.badge-style-type-verified.badge +www.youtube.com##.ytd-comment-renderer #author-text:remove-attr(hidden) +www.youtube.com##.ytd-comment-renderer #author-comment-badge + +! hide badges such as "new" below sidebar recommendations +www.youtube.com##ytd-video-meta-block + ytd-badge-supported-renderer + +! hide smartimation animations / rainbow subscribe-button border +www.youtube.com##yt-smartimation > *:not(.ytSmartImationsContent) + +! prevent live stats from updating +||youtube.com/youtubei/v1/updated_metadata + +! hide hashtags above the video title +www.youtube.com###description #info a[href^="/hashtag/"] +www.youtube.com###super-title +www.youtube.com##.super-title +m.youtube.com##.standalone-collection-badge a[href^="/hashtag/"] +m.youtube.com##ytm-video-description-header-renderer button-view-model a[href^="/hashtag/"] + +! hide copyright/music notice in the video description +www.youtube.com###description .ytd-watch-metadata #items:has(.ytd-video-description-music-section-renderer) +m.youtube.com##ytm-video-description-music-section-renderer + +! hide youtube mixes and radios +youtube.com##ytd-rich-item-renderer:has([href$="start_radio=1"]) +youtube.com##ytd-compact-radio-renderer +youtube.com###related yt-lockup-view-model:has([href*="&start_radio=1&"]) +youtube.com##ytd-radio-renderer +youtube.com##ytd-search yt-lockup-view-model:has([href$="&start_radio=1"][aria-label]) +youtube.com##.ytp-videowall-still[data-is-mix="true"] + +! hide youtube music playlists in the right-side panel +youtube.com##ytd-compact-playlist-renderer:has([title^="YouTube"]) + +! hide donation shelf +youtube.com###donation-shelf + +! hide shorts +youtube.com##[is-shorts] +www.youtube.com###guide [title="Shorts"], .ytd-mini-guide-entry-renderer[title="Shorts"] +www.youtube.com##ytd-search ytd-video-renderer:has([overlay-style="SHORTS"]) +www.youtube.com##ytd-reel-shelf-renderer +www.youtube.com##[tab-title="Shorts"] +www.youtube.com##ytd-browse[page-subtype="subscriptions"] ytd-grid-video-renderer:has([overlay-style="SHORTS"]) +www.youtube.com##ytd-browse[page-subtype="subscriptions"] ytd-video-renderer:has([overlay-style="SHORTS"]) +www.youtube.com##ytd-browse[page-subtype="subscriptions"] ytd-rich-item-renderer:has([overlay-style="SHORTS"]) +www.youtube.com###related ytd-compact-video-renderer:has([overlay-style="SHORTS"]) + +! hide shorts on youtube mobile +m.youtube.com##ytm-pivot-bar-item-renderer:has(>.pivot-shorts) +m.youtube.com##ytm-reel-shelf-renderer +m.youtube.com##ytm-rich-section-renderer:has([d^="M17.77,10.32l-1.2"]) +m.youtube.com##ytm-search ytm-video-with-context-renderer:has([data-style="SHORTS"]) +m.youtube.com##[tab-title="Shorts"] + +! hide recommendation sidebar +!www.youtube.com##ytd-watch-next-secondary-results-renderer.ytd-watch-flexy.style-scope + +! block video annotations script +!||www.youtube.com/s/player/*/player_ias.vflset/*/annotations_module.js$script + +! block video endscreen script +||www.youtube.com/s/player/*/player_ias.vflset/*/endscreen.js^$script + +! block stats requests +!||youtube.com/youtubei/v1/updated_metadata +www.youtube.com##+js(no-xhr-if, /\/api\/stats\/atr\?.+?&rt=\d+\.\d+.+?&volume=\d+&cbr=.+?&fexp=v1%[-%0-9C]{300\,}&.+?&muted=\d(&vis=3)?&docid=/ method:POST) +www.youtube.com##+js(no-xhr-if, /\/api\/stats\/atr\?.*? method:POST) +www.youtube.com##+js(no-xhr-if, /\/api\/stats\/playback\?.*? method:POST) +www.youtube.com##+js(no-xhr-if, /\/api\/stats\/get_playback_stats\?.*? method:POST) +www.youtube.com##+js(no-xhr-if, /\/api\/stats\/watch\?.*? method:POST) +www.youtube.com##+js(no-xhr-if, /\/api\/stats\/watchtime\?.*? method:POST) +www.youtube.com##+js(no-xhr-if, /\/api\/stats\/player\?.*? method:POST) +www.youtube.com##+js(no-xhr-if, /\/api\/stats\/log\?.*? method:POST) +www.youtube.com##+js(no-xhr-if, /\/api\/stats\/report\?.*? method:POST) + +! hide already watched on homepage +www.youtube.com##ytd-browse[page-subtype="home"] ytd-rich-item-renderer:has(.ytThumbnailOverlayProgressBarHostWatchedProgressBarSegment[style^="width: 7"], .ytThumbnailOverlayProgressBarHostWatchedProgressBarSegment[style^="width: 8"], .ytThumbnailOverlayProgressBarHostWatchedProgressBarSegment[style^="width: 9"], .ytThumbnailOverlayProgressBarHostWatchedProgressBarSegment[style="width: 100%;"]) + +! hide already watched in recommendations/sidebar +www.youtube.com##ytd-watch-next-secondary-results-renderer :has(.ytThumbnailOverlayProgressBarHostWatchedProgressBarSegment[style="width: 100%;"]):upward(yt-lockup-view-model,ytd-video-renderer,ytd-compact-video-renderer) +www.youtube.com##ytd-watch-next-secondary-results-renderer :has(.ytThumbnailOverlayProgressBarHostWatchedProgressBarSegment[style^="width: 7"]):upward(yt-lockup-view-model,ytd-video-renderer,ytd-compact-video-renderer) +www.youtube.com##ytd-watch-next-secondary-results-renderer :has(.ytThumbnailOverlayProgressBarHostWatchedProgressBarSegment[style^="width: 8"]):upward(yt-lockup-view-model,ytd-video-renderer,ytd-compact-video-renderer) +www.youtube.com##ytd-watch-next-secondary-results-renderer :has(.ytThumbnailOverlayProgressBarHostWatchedProgressBarSegment[style^="width: 9"]):upward(yt-lockup-view-model,ytd-video-renderer,ytd-compact-video-renderer) + +! force youtube player requests to identify as the music_web client +trusted-json-edit-xhr-request,'..context.client.clientName="MUSIC_WEB"',propsToMatch,'/player' +trusted-json-edit-xhr-request,'..context.client.originalUrl="https://music.youtube.com"',propsToMatch,'/player' +trusted-json-edit-xhr-request,'..context.client.clientScreen="WATCH_AUDIO"',propsToMatch,'/player' +trusted-json-edit-xhr-response,'..playbackTracking.videostatsPlaybackUrl.baseUrl=repl({"regex":"www\\\\.youtube\\\\.com","replacement":"music.youtube.com"})',propsToMatch,'/player' +trusted-json-edit-xhr-response,'[?..streamingData.adaptiveFormats.*][?(@.mimeType*="audio/")].averageBitrate=512000',propsToMatch,'/player' +trusted-json-edit-xhr-response,'[?..streamingData.adaptiveFormats.*][?(@.mimeType*="audio/"&&@.averageBitrate<512000)].averageBitrate=512000',propsToMatch,'/player' +trusted-json-edit-xhr-response,'[?..streamingData.adaptiveFormats.*][?(@.mimeType*="audio/")].audioQuality="AUDIO_QUALITY_HIGH"',propsToMatch,'/player' +trusted-json-edit-xhr-response,'[?..streamingData.adaptiveFormats.*][?(@.mimeType*="audio/"&&@.audioQuality!="AUDIO_QUALITY_HIGH")].audioQuality="AUDIO_QUALITY_HIGH"',propsToMatch,'/player' + +! ========================= +! optional / commented out from original +! ========================= + +! hide recommendation sidebar +!www.youtube.com##ytd-watch-next-secondary-results-renderer.ytd-watch-flexy.style-scope + +! block video annotations script +!||www.youtube.com/s/player/*/player_ias.vflset/*/annotations_module.js$script + +! block video endscreen script +!||www.youtube.com/s/player/*/player_ias.vflset/*/endscreen.js^$script +! +! +! + +! ========================= +! GRAILED +! ========================= + +grailed.com##.Logo_logo__T21r4 +||grailed.com^*/logo.jpg$image +||assets.grailed.com/logo.jpg + +! ========================= +! GENERIC / NETWORK / PRIVACY +! ========================= + +! Third-party LAN protection +*$3p,xhr,websocket,ipaddress=lan,important,domain=~localhost|~localhost.localdomain|~127.0.0.1|~[::1]|~home.arpa|~local|~lan +*$strict3p,ipaddress=lan,important,domain=~localhost|~localhost.localdomain|~127.0.0.1|~[::1]|~home.arpa|~local|~lan +*$websocket,3p,ipaddress=lan,important + +! DarkReader / tracking / analytics +||herokudns.com^$xhr,domain=darkreader.org +||karistudio.com/wp-content/plugins/wp-statistics/assets/js/tracker.js^$important +||facebook.com/security/hsts-pixel.gif +||facebook.com/async/wbloks/log/ +||windowspro.de/stats/ +||tvaplus.ca/api/log^ +||startpage.com/sp/dplpxs +||startpage.com/perf +||gigachadlitics.b-cdn.net^ +||substack.com/api/v1/firehose/batch +||nakedanalytics.net^ +/^https:\/\/grabify\.org\/[A-Z0-9]+$/$doc +||q.stripe.com/?domain=$image +discord.com##+js(no-xhr-if, discord.com/api/v9/science) +.*%2Fwf%2Fopen%3Fupn%3D*$image +.quora.com%2Fqemail%2Fmark_read%3Fct%3D*$image +click.transactional.agoda.com$image + +! ========================= +! FONTS / WEBFONTS +! ========================= + +/cdn-cgi/pe/bag2?*googleapis.com*webfont.js +/csp/fonts^$3p +||alluremedia.com.au^$font,3p +||amazonaws.com^$font,3p +||bootstrapcdn.com/bootstrap/$font,3p +||cloud.typography.com^$3p +||cloud.webtype.com^$font,3p +||disquscdn.com/next/assets/font/$3p +||edgefonts.net^$3p +||fast.fonts.com^$3p +||fast.fonts.net^$3p +||font.sec.miui.com/font^$3p +||fonts.net$3p +||fontdeck.com^$3p +||fonts.advance.net^$3p +||fonts.bauernet.me^ +||fonts.cdnfonts.com^$3p +||fonts.condenast.com^$script,3p +||fonts.gotraffic.net^$script +||fonts.gstatic.com^$3p +||fonts.loox.io^$3p +||fonts.nymag.com^$script,3p +||fonts.shopify.com^$3p +||fonts.shopifycdn.com^$3p +||fonts.smdg.ca^$3p +||fonts.staticworld.net^$3p +||fonts.timeinc.net^ +||fonts.ub-assets.com^$3p +||fonts.voxmedia.com^$3p +||fonts-api.wp.com^$3p +||fonts.wp.com^$3p +||gannett-cdn.com^*/fonts/$font,3p +||gannettdigital.com^*/fonts/$font,3p +||gfonts.jifo.co^ +||google.com/swg/$font,3p +||googleusercontent.com/static/fonts/$3p +||gotraffic.net^$font +||klaviyo.com/custom-fonts^$3p +||kinja-static.com/assets/fonts/$font,3p +||myfontastic.com^$3p +||myfonts.net^$3p +||netdna-cdn.com^*/webfonts/ +||netdna.bootstrapcdn.com^*/fonts/$3p +||qmerce.com/assets/$font +||rackcdn.com/fonts/$font,3p +||squarecdn.com^$font,3p +||stamped.io/fonts/$font,3p +||typefront.com^$3p +||typekit.com^$3p +||typekit.net^$3p +||typesquare.com^$font,3p +||use.fonticons.com^$3p +||vidible.tv/prod/fonts/$font +||webfont.fontplus.jp^$3p +||webfonts.creativecloud.com^$3p +||webfonts.sakura.ne.jp^$font + +! ========================= +! CHATGPT / OPENAI +! ========================= + +||shields.io^$domain=gpt.ui.backend-3.com +||o33249.ingest.sentry.io^ +||browser-intake-datadoghq.com^ +||js-agent.newrelic.com^ +||bam.nr-data.net^ +||events.statsigapi.net^ +||featuregates.org^ +||clientstream.launchdarkly.com^ +||intercom.io^ +||intercomcdn.com^ +||googletagmanager.com^ +||google-analytics.com^ +||doubleclick.net^ +||segment.io^ +||api.segment.io^ +||cdn.segment.com^ +||amplitude.com^ +||api.amplitude.com^ +||mixpanel.com^ +||cdn.mxpnl.com^ +||chatgpt.com/backend-anon/sentinel/sdk.js +||chatgpt.com/ces/v1/b + +! Media / animation reduction +||cdn.oaistatic.com/*.mp4$media +||cdn.oaistatic.com/*.webm$media +||cdn.oaistatic.com/*.gif$image +||cdn.oaistatic.com/*.mov$media +||cdn.oaistatic.com/*.m3u8$media +||cdn.oaistatic.com/*.png$image +||cdn.oaistatic.com/*.avif$image +||cdn.oaistatic.com/*.webp$image + +! COSMETIC FILTERS +chatgpt.com##iframe +chatgpt.com##video +chatgpt.com##audio +chatgpt.com##source +chatgpt.com##link[rel="preload"][as="image"] +chatgpt.com##link[rel="preload"][as="video"] +chatgpt.com##img[loading="lazy"] +chatgpt.com##*:style(animation:none!important;transition:none!important;transform:none!important;backdrop-filter:none!important;filter:none!important;box-shadow:none!important;text-shadow:none!important;will-change:auto!important;) +chatgpt.com##*:style(contain:none!important;) +chatgpt.com##nav[aria-label="Chat history"]::-webkit-scrollbar +chatgpt.com##button:hover:style(transform:none!important;) +chatgpt.com##img +chatgpt.com##canvas +chatgpt.com##svg +chatgpt.com##*:style(caret-color:auto!important;) +chatgpt.com##div:style(overscroll-behavior:none!important;) +chatgpt.com##.sticky:style(position:relative!important;) +chatgpt.com##[class*="blur"] +chatgpt.com##[style*="blur"] +chatgpt.com##[class*="gradient"] +chatgpt.com##*:style(touch-action:auto!important;) + +! Sidebar optimization +chatgpt.com###history > ul > li:nth-child(n+4) +chatgpt.com##a[href="/gpts"] +chatgpt.com##h2:has-text(GPTs) +chatgpt.com##[data-testid="explore-gpts-button"] +chatgpt.com##button:has-text(Projects) +chatgpt.com##a[href*="/codex"] +chatgpt.com##div[id^="radix-"]:has(.truncate:has-text(More)) +chatgpt.com##[data-testid="accounts-profile-button"] +chatgpt.com##.text-token-text-secondary.pointer-events-auto +chatgpt.com##.header-wordmark + +! Networking +||chatgpt.com/*telemetry* +||chatgpt.com/*analytics* +||chatgpt.com/*tracking* +||chatgpt.com/*metrics* +||chatgpt.com/*events* +||chatgpt.com/*experiment* +||chatgpt.com/*featuregate* + +! ========================= +! BANDCAMP +! ========================= + +.bcbits.com/img/heartbreak.png^ + +! ========================= +! REDDIT +! ========================= + +reddit.com##[data-testid="comment_author_link"][href="/user/AutoModerator/"]:upward(.Comment) +reddit.com##.comment .author[href="https://old.reddit.com/user/AutoModerator"]:upward(.comment) +old.reddit.com##.comment[data-author="AutoModerator"] +old.reddit.com##.comment[data-author*="mod"] +old.reddit.com##.comment[data-author*="bot"] +www.reddit.com###moderation_section +