Uploaded first batch of filters

master
Meliurwen 2 years ago
commit bef04bbdbf
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 33
      filters/aliexpress.com/main.txt
  2. 24
      filters/ebay/main.txt
  3. 26
      filters/github.com/main.txt
  4. 33
      filters/google/main.txt
  5. 18
      filters/kijiji.it/main.txt
  6. 18
      filters/speedtest.net/main.txt
  7. 89
      filters/stackexchange/main.txt
  8. 28
      filters/subito.it/main.txt
  9. 12
      filters/tomshw.it/main.txt
  10. 57
      filters/youtube.com/main.txt
  11. 13
      update_dates.sh

@ -0,0 +1,33 @@
! Title: Aliexpress.com's clean UI
! Description: Removes distracting and non-essential Aliexpress.com's UI components
! Expires: 7 days
! Last modified: 2022-05-28T14:21:18+00:00
!! Aliexpress
! Global Footer
aliexpress.com##.site-server-box
aliexpress.com##.user-helper-footer
aliexpress.com##.site-footer
aliexpress.com##.footer-copywrite
! Global Right bar
aliexpress.com##.multi-sidebar-tab
# Global Right-click unblock
aliexpress.com##+js(aopw, document.oncontextmenu)
aliexpress.com##+js(aopw, document.onselectstart)
aliexpress.com##+js(aopr, disableSelection)
! Homepage - Trending searches (very often cringey obscene)
aliexpress.com##.hot-words
! Homepage - Super Deals
aliexpress.com##.container-shadow._2AYyQ
! Homepage - Promo deals
aliexpress.com###home-firstscreen
! Homepage - The local Collection
aliexpress.com##.container-shadow._9LU6G
! Homepage - Top Collections and New Arrivals
aliexpress.com##._215HR
! Homepage - More To Love
aliexpress.com##._2jK6B
! Homepage - Featured Categories
aliexpress.com##._38xlb
! Homepage - minifooter
aliexpress.com##.Pd-zt

@ -0,0 +1,24 @@
! Title: ebay's clean UI
! Description: Removes distracting and non-essential ebay's UI components
! Expires: 7 days
! Last modified: 2022-05-28T14:21:18+00:00
!! ebay
! Global - Footer
www.ebay.*###hlGlobalFooter
! Homepage - Navbar
www.ebay.*##.hl-cat-nav
! Homepage - Carousel
www.ebay.*##.carousel
! Homepage - Personalized promo
www.ebay.*###personalized_events1
! Homepage - Banner
www.ebay.*###rtm_list2
www.ebay.*###rtm_list3
! Homepage - Categories promo
www.ebay.*###destinations_list1
! Homepage - Today's deals
www.ebay.*##.hl-atf-module-js.off-card.hl-standard-carousel.hl-module
www.ebay.*##.hl-atf-module-js.hl-custom-card.hl-module
! Searchpage - Footer
www.ebay.*##.x-footer

@ -0,0 +1,26 @@
! Title: GitHub's clean UI
! Description: Removes distracting and non-essential GitHub's UI components
! Expires: 7 days
! Last modified: 2022-05-28T14:21:18+00:00
!! GitHub
! Global - Footer
github.com##.footer
! Homepage - Globe container
github.com##.js-webgl-globe-data.position-relative
! Homepage - Globe
github.com##.home-globe-container-webgl.home-globe-container
! Homepage - Bluild like the best GH experience
github.com##.js-build-in-trigger.gutter-spacious.gutter.d-flex.overflow-hidden.py-md-9.py-8.p-responsive.container-xl.mx-auto
! Homepage - Topbar
github.com##.scrollnav.z-3.width-full.top-0.js-position-sticky.js-sticky.js-toggler-container.sub-nav-mktg
! Homepage - OverflowScroll
github.com###home-code
github.com##.mx-auto.p-responsive.container-xl
github.com###home-develop
github.com###home-automate
github.com###home-secure
github.com##picture
github.com##.position-relative.home-featured-repos.ml-lg-0.offset-n1
github.com##.gutter-spacious.gutter.flex-lg-row.flex-column.flex-items-center.d-flex
github.com##.position-relative.pb-md-12.pb-11.bg-gray-dark-mktg

@ -0,0 +1,33 @@
! Title: Google's clean UI
! Description: Removes distracting and non-essential Google's UI components
! Expires: 7 days
! Last modified: 2022-05-28T14:21:18+00:00
!! Google
! Global - Privacy Cookies Consent "Before you continue to Google Search"
!www.google.*##.Fgvgjc
!www.google.*##.HTjtHe
www.google.*##^script:has-text(consentCookiePayload)
www.google.*##+js(acis, document.cookie, YES+)
google.*##+js(aeld, DOMContentLoaded, CONSENT)
!||consent.google.com^
!||consent.google.it^
! Homepage- Signin and Menu
!www.google.*##.gb_Se
www.google.*##.gb_Jd
! Homepage - "Who we are" and "google store" links (top-left corner)
www.google.*##a.MV3Tnb
! Homepage- Gmail
www.google.*##div.gb_f.gb_e:nth-of-type(1)
! Homepage - Bottom bar
www.google.*##.SSwjIe.KxwPGc
! Homepage - Search and Feeling Lucky buttons (also inside search menu)
www.google.*##.lJ9FBc
! Homepage - Search by voice
www.google.*##.dRYYxd
! Searchpage - Footer
www.google.*###footcnt
! Searchpage - People also ask
www.google.*##.cUnQKe
! Image Searchpage - Search by voice
www.google.*##.QOxLX

@ -0,0 +1,18 @@
! Title: Kijiji's clean UI
! Description: Removes distracting and non-essential Kijiji's UI components
! Expires: 7 days
! Last modified: 2022-05-28T14:21:18+00:00
!! Kijiji
! Global - Footer
www.kijiji.it###ki-footer-wrapper
! Homepage - Trending searches
www.kijiji.it##.pop-searches
! Homepage - Gallery
www.kijiji.it##.gallery
! Homepage - Featured
www.kijiji.it##.home-featured
! Homepage - Bottom aside
www.kijiji.it##.aside-bottom.aside
! Searchpage - Most searched
www.kijiji.it##.seo-links

@ -0,0 +1,18 @@
! Title: Speedtest.net's clean UI
! Description: Removes distracting and non-essential Speedtest.net's UI components
! Expires: 7 days
! Last modified: 2022-05-28T14:21:18+00:00
!! Speedtest.net
! General - Navigation menu
www.speedtest.net##.nav-menu
! Home - Devices Apps
www.speedtest.net##.lowerboard-content
! Home - Lower Container
www.speedtest.net##div.homepage-lower
! General - Footer
www.speedtest.net##.footer
! Speedtest results - Feedback survey
www.speedtest.net##.eot-info-audience.u-c.pure-u-1-2
! Sttings - Create Account
www.speedtest.net##div.u-c.pure-u-1-3:nth-of-type(3)

@ -0,0 +1,89 @@
! Title: Stackexchange's network websites clean UI
! Description: Removes distracting and non-essential Stackexchange's UI components
! Expires: 7 days
! Last modified: 2022-05-28T14:21:18+00:00
!! Stack Overflow
! Global - [topbar] Login and Signup buttons
stackoverflow.com##.s-topbar--content
! Global - [topbar] About, Products, For Teams
stackoverflow.com##.s-navigation
! Global - Footer
stackoverflow.com###footer
! Questions - Left and Right sidebars
stackoverflow.com###left-sidebar
stackoverflow.com###sidebar
! Questions - "Ask Question" button
stackoverflow.com##.sm\:as-end.sm\:order-first
! Questions - "Your Answer" form
stackoverflow.com###post-form
! Questions - Bottom notice
stackoverflow.com##.bottom-notice
!! Stack Exchange
! Global - [topbar] Login and Signup buttons
stackexchange.com##.s-topbar--content
! Global - [topbar] About, Products, For Teams
stackexchange.com##.s-navigation
! Global - Footer
stackexchange.com###footer
! Questions - Left and Right sidebars
stackexchange.com###left-sidebar
stackexchange.com###sidebar
! Questions - "Ask Question" button
stackexchange.com##.sm\:as-end.sm\:order-first
! Questions - "Your Answer" form
stackexchange.com###post-form
! Questions - Bottom notice
stackexchange.com##.bottom-notice
!! Server Fault
! Global - [topbar] Login and Signup buttons
serverfault.com##.s-topbar--content
! Global - [topbar] About, Products, For Teams
serverfault.com##.s-navigation
! Global - Footer
serverfault.com###footer
! Questions - Left and Right sidebars
serverfault.com###left-sidebar
serverfault.com###sidebar
! Questions - "Ask Question" button
serverfault.com##.sm\:as-end.sm\:order-first
! Questions - "Your Answer" form
serverfault.com###post-form
! Questions - Bottom notice
serverfault.com##.bottom-notice
!! Ask Ubuntu
! Global - [topbar] Login and Signup buttons
askubuntu.com##.s-topbar--content
! Global - [topbar] About, Products, For Teams
askubuntu.com##.s-navigation
! Global - Footer
askubuntu.com###footer
! Questions - Left and Right sidebars
askubuntu.com###left-sidebar
askubuntu.com###sidebar
! Questions - "Ask Question" button
askubuntu.com##.sm\:as-end.sm\:order-first
! Questions - "Your Answer" form
askubuntu.com###post-form
! Questions - Bottom notice
askubuntu.com##.bottom-notice
!! Super User
! Global - [topbar] Login and Signup buttons
superuser.com##.s-topbar--content
! Global - [topbar] About, Products, For Teams
superuser.com##.s-navigation
! Global - Footer
superuser.com###footer
! Questions - Left and Right sidebars
superuser.com###left-sidebar
superuser.com###sidebar
! Questions - "Ask Question" button
superuser.com##.sm\:as-end.sm\:order-first
! Questions - "Your Answer" form
superuser.com###post-form
! Questions - Bottom notice
superuser.com##.bottom-notice

@ -0,0 +1,28 @@
! Title: Subito.it's clean UI
! Description: Removes distracting and non-essential Subito.it's UI components
! Expires: 7 days
! Last modified: 2022-05-28T14:21:18+00:00
!! Subito.it
! Tutto Subito
www.subito.it##section[class*="TuttoSubito_tutto-subito__"]
! Inserisci annuncio widget
www.subito.it##section[class*="SellWidget_insert-box__"]
! Magazine widget
www.subito.it##a[class*="MagazineWidget_magazine__"]
! Safety Tips
www.subito.it##section[class*="SafetyTips_safety_tips_box__"]
! Download Apps
www.subito.it##div[class*="AppWidget_download-box-wrapper__"]
! Find out more (homepage bottom)
www.subito.it##div[class*="FindOutMore_internal-links__"]
! Ricerche consigliate (footer)
www.subito.it##div[class*="Footer-module_container__"]
! Tutte le categorie (footer)
www.subito.it##.container.jsx-2439675513
! Footer links
www.subito.it##div[class*="FooterLinks-module_bottom-links__"]
! Footer Logo
www.subito.it##div[class*="index-module_footer-wrapper__"]
! Banner Notifiche
www.subito.it##div[class*="SnackBar_snackbar-container__"]

@ -0,0 +1,12 @@
! Title: tomshw.it's clean UI
! Description: Removes distracting and non-essential tomshw.it's UI components
! Expires: 7 days
! Last modified: 2022-05-28T14:21:18+00:00
! tomshw.it
tomshw.it##.section_menu
tomshw.it##.article_disclaimer
tomshw.it##.sidebar-single
tomshw.it##.disqus_comments_loader
tomshw.it##footer
tomshw.it###disqus_row565969

@ -0,0 +1,57 @@
! Title: Youtube's clean UI
! Description: Removes distracting and non-essential Youtube's UI components
! Expires: 7 days
! Last modified: 2022-05-28T14:21:18+00:00
!! Youtube
! Global - Privacy Cookies Consent "Before you continue to YouTube"
www.youtube.com##.opened
www.youtube.com##.ytd-consent-bump-v2-renderer.style-scope
! Global (top-right) - Youtube Apps and Settings buttons
www.youtube.com##.style-default.ytd-topbar-menu-button-renderer.style-scope
! Global (top-right) - Sign In button
www.youtube.com###end > .ytd-masthead.style-scope
! Global (top-center) - Voice Search button
www.youtube.com###voice-search-button
! Homepage - Tags
www.youtube.com###header > .ytd-rich-grid-renderer.style-scope
! Homepage - disable thumbnail autoplay on hover
www.youtube.com##.ytd-thumbnail-overlay-loading-preview-renderer
www.youtube.com##.ytd-video-preview
www.youtube.com##.ytp-ce-covering-overlay
www.youtube.com##.ytp-ce-element
www.youtube.com##.ytp-cards
www.youtube.com##.ytp-cards-teaser
www.youtube.com##.ytp-cards-button-icon
! Videopage - Theater mode with full screen height (credits: https://reddit.com/rkhjub)
www.youtube.com##body ytd-watch-flexy[theater-requested_]:not([fullscreen]) #player-theater-container:style(height:calc(100vh - 56px) !important; max-height:calc(100vh - 56px) !important;min-height:calc(100vh - 56px) !important; )
! Videopage - Whole right column
www.youtube.com###secondary
! Videopage- Chat
!www.youtube.com###chat
! Videopage - Related videos
!www.youtube.com###related
! Homepage and Searchpage (guide section) - Sign In button section
www.youtube.com##ytd-guide-signin-promo-renderer.ytd-guide-renderer.style-scope
! Homepage and Searchpage (guide section) - Library and History section
www.youtube.com##ytd-guide-section-renderer.ytd-guide-renderer.style-scope:nth-of-type(2)
! Homepage and Searchpage (guide section) - Subscriptions button
www.youtube.com##ytd-guide-entry-renderer.ytd-guide-section-renderer.style-scope:nth-of-type(4)
! Homepage and Searchpage (guide section) - Best of YT section
www.youtube.com##ytd-guide-section-renderer.ytd-guide-renderer.style-scope:nth-of-type(3)
! Homepage and Searchpage (guide section) - Browse Channels section
www.youtube.com##ytd-guide-section-renderer.ytd-guide-renderer.style-scope:nth-of-type(4)
! Homepage and Searchpage (guide section) - More From YT section
www.youtube.com##ytd-guide-section-renderer.ytd-guide-renderer.style-scope:nth-of-type(5)
! Homepage and Searchpage (guide section) - Settings section
www.youtube.com##ytd-guide-section-renderer.ytd-guide-renderer.style-scope:nth-of-type(6)
! Homepage and Searchpage (guide section) - Footer section
www.youtube.com###footer > .ytd-guide-renderer.style-scope
! Homepage and Searchpage (guide section) - Copyright section
www.youtube.com###copyright
! Homepage and Searchpage (mini-guide section) - Subscriptions button
www.youtube.com##ytd-mini-guide-entry-renderer.ytd-mini-guide-renderer.style-scope:nth-of-type(4)
! Homepage and Searchpage (mini-guide section) - Library button
www.youtube.com##ytd-mini-guide-entry-renderer.ytd-mini-guide-renderer.style-scope:nth-of-type(5)
! Homepage and Searchpage (mini-guide section) - History button
www.youtube.com##ytd-mini-guide-entry-renderer.ytd-mini-guide-renderer.style-scope:nth-of-type(6)

@ -0,0 +1,13 @@
#!/bin/sh
# Date in RFC5322 on UTC TZ
CURR_DATE=$(date --utc --iso-8601=seconds)
UPDATED_FILTERS=$(git status --porcelain filters | awk 'match($1, "A") || match($1, "M") || match($1, "?") {print $2}')
OLDIFS="$IFS"
IFS="
"
for filter in $UPDATED_FILTERS; do
sed -i "s/! Last modified:.*/! Last modified: $CURR_DATE/g" "$filter"
done
IFS="$OLDIFS"
Loading…
Cancel
Save