-
Notifications
You must be signed in to change notification settings - Fork 7
/
filter-vanity.txt
59 lines (45 loc) · 4.24 KB
/
filter-vanity.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
! Title: Vanity Filter
! Description: Disables vanity and addictive elements on Instagram, Twitter, YouTube, Medium, DuoLingo.
! Version: 1.8.0
! Expires: 1 hour (update frequency)
! Homepage: https://github.com/bevry-labs/filters
! License: https://unlicense.org
! Reclaim your agency.
! DuoLingo: hide gamification
||preview.duolingo.com,duolingo.com##div[style^="--sidebar"],div[data-test="streak-menu"],div[data-test="lingot-menu"],a[data-test="shop-nav"]
! Product Hunt: hide notifications
||producthunt.com##[href*=notification],[data-test*=notification],[class*=notification],[title=Notifications]
! Medium: redirect homepage to network stream
medium.com#%#if ( location.pathname === "/" ) { location.pathname = '/stream/network' };
! Twitter: hide followers/following, homepage, explore, notifications, trends, suggestions, vanity metrics, twitter blue
||twitter.com##[href*="/follow"],[href="/home"],[href="/explore"],[href="/notifications"],[aria-label="Timeline: Trending now"],[aria-label="Who to follow"],[href*="promote"],[href*="analytics"],[aria-label*="Reply"],[aria-label*="Retweet"],[aria-label*="Like"],[aria-label*="Share"],[href*="twitter_blue"]
||twitter.com/i/api/2/guide.json
||twitter.com/i/api/1.1/users/recommendations.json
! Twitter: redirect explore to search
twitter.com#%#if ( location.pathname === "/explore" ) { location.pathname = '/search-advanced' };
! Twitter: redirect homepage and notifications to messages
twitter.com#%#if ( ['/', '/notifications'].includes(location.pathname) ) { location.pathname = '/messages' };
! YouTube: redirect homepage to watch later
||youtube.com#%#if ( ["/", "/home"].includes(location.pathname) ) { location.pathname = '/feed/subscriptions' };
! YouTube: hide links to home and within the trending sidebar
||youtube.com###items > ytd-guide-entry-renderer.style-scope.ytd-guide-section-renderer:first-child
||youtube.com###items > ytd-guide-entry-renderer.style-scope.ytd-guide-section-renderer:nth-child(2)
! YouTube: hide comments (they are just noise/interference now, memetic viruses competing for proliferation)
||youtube.com##ytd-comments
! YouTube: hide sidebar (it's intent is to provide distactions that capitalise your attention)
||youtube.com###secondary
! YouTube: hide view counts
||youtube.com###metadata-line.ytd-grid-video-renderer>.ytd-grid-video-renderer:first-of-type
||youtube.com###metadata-line.ytd-grid-video-renderer>.ytd-grid-video-renderer:not(:first-of-type)::before
! GitHub: hide social feeds and expand your activity
github.com#%#if( location.pathname === "/" ) setTimeout(() => { document.querySelector('.js-show-more-recent-items').click() }, 2000)
||github.com###dashboard > div.news > *:not(:first-child,:nth-child(2))
||github.com##aside[aria-label=Explore]
! Instagram: remove various vanity elements and attention grabbers
||instagram.com###react-root > section._9eogI.E3X2T:last-child > nav.NXc7H.jLuN9:nth-child(3) > div._8MQSO.Cx7Bp:last-child > div._lz6s > div.MWDvN > div.ctQZg:last-child > div._47KiJ > div.XrOey:nth-child(2) > a._0ZPOP.kIKUG > svg._8-yf5 > path
||instagram.com###react-root > section._9eogI.E3X2T:last-child > nav.NXc7H.jLuN9:nth-child(3) > div._8MQSO.Cx7Bp:last-child > div._lz6s > div.MWDvN > div.ctQZg:last-child > div._47KiJ > div.XrOey:nth-child(2)
||instagram.com###react-root > section._9eogI.E3X2T > nav.NXc7H.jLuN9:nth-child(3) > div._8MQSO.Cx7Bp:last-child > div._lz6s > div.MWDvN > div.ctQZg:last-child > div._47KiJ > div.XrOey:first-child
||instagram.com###react-root > section._9eogI.E3X2T:last-child > nav.NXc7H.jLuN9:nth-child(3) > div._8MQSO.Cx7Bp:last-child > div._lz6s > div.MWDvN > div.oJZym:first-child
||instagram.com###react-root > section._9eogI.E3X2T:last-child > main.SCxLW.o64aR:nth-child(2) > div.v9tJq.VfzDr > header.vtbgv:first-child > section.zwlfE:last-child > ul.k9GMp:nth-child(2) > li.Y8-fY:nth-child(2)
||instagram.com###react-root > section._9eogI.E3X2T:last-child > main.SCxLW.o64aR:nth-child(2) > section._1SP8R.j9XKR:first-child > div.COOzN:last-child > div._6Rvw2.DPiy6.Igw0E.IwRSH.eGOV_._4EzTm._22l1._49XvD.b2rUF.ZUqME:nth-child(3)
||instagram.com###react-root > section._9eogI.E3X2T:last-child > nav.NXc7H.jLuN9:nth-child(3) > div._8MQSO.Cx7Bp:last-child > div._lz6s.Hz2lF > div.MWDvN.nfCOa > div.ctQZg:last-child > div._47KiJ > div.Fifk5:nth-child(4)