#data #plugin #bizdev_utils #privacy UBlock Origin is an add blocking add-on for a web browser. It has many filters already in place, but also allows for the addition of customer filters (using their syntax). As a result, it is a good tool for removing clutter and junk from frequently visited websites (e.g. GitHub, Office.com) when needed. Below is a template that blocks all the clutter from GitHub and YouTube. This can be used as a template for any other sites as well. Setup: - [ ] Install [Ublock Origin](https://ublockorigin.com/) - [ ] Click settings - [ ] Click my filters - [ ] Copy and paste the below and save ``` github.com###dashboard .js-feeds-tabs #feed-next github.com###dashboard tab-container div[aria-labelledby="feed-next"] github.com##aside .dashboard-changelog.mb-4 github.com##.js-notice github.com##.js-profile-editable-replace img.achievement-badge-sidebar:upward(div.border-top) www.youtube.com##ytd-guide-renderer a.yt-simple-endpoint path[d^="M10 14.65v-5.3L15 12l-5 2.65zm7.77-4.33"]:upward(ytd-guide-entry-renderer) www.youtube.com##ytd-mini-guide-renderer a.yt-simple-endpoint path[d^="M10 14.65v-5.3L15 12l-5 2.65zm7.77-4.33"]:upward(ytd-mini-guide-entry-renderer) www.youtube.com##ytd-browse #dismissible ytd-rich-grid-slim-media[is-short]:upward(ytd-rich-section-renderer) www.youtube.com##ytd-browse[page-subtype="home"] .ytd-thumbnail[href^="/shorts/"]:upward(ytd-rich-item-renderer) www.youtube.com##ytd-browse[page-subtype="subscriptions"] .ytd-thumbnail[href^="/shorts/"]:upward(ytd-grid-video-renderer,ytd-rich-item-renderer) www.youtube.com##ytd-search .ytd-thumbnail[href^="/shorts/"]:upward(ytd-video-renderer) www.youtube.com##ytd-watch-next-secondary-results-renderer .ytd-thumbnail[href^="/shorts/"]:upward(ytd-compact-video-renderer,ytd-shelf-renderer) www.youtube.com##ytd-watch-next-secondary-results-renderer ytd-reel-shelf-renderer www.youtube.com##ytd-browse[page-subtype="subscriptions"] ytd-video-renderer .ytd-thumbnail[href^="/shorts/"]:upward(ytd-item-section-renderer) www.youtube.com##ytd-browse[page-subtype="channels"] #contents.ytd-reel-shelf-renderer:upward(ytd-item-section-renderer) www.youtube.com##ytd-browse[page-subtype="trending"] .ytd-thumbnail[href^="/shorts/"]:upward(ytd-video-renderer) www.youtube.com##ytd-search #contents ytd-reel-shelf-renderer m.youtube.com##ytm-reel-shelf-renderer m.youtube.com##ytm-pivot-bar-renderer div.pivot-shorts:upward(ytm-pivot-bar-item-renderer) m.youtube.com##ytm-browse ytm-item-section-renderer ytm-thumbnail-overlay-time-status-renderer[data-style="SHORTS"]:upward(ytm-video-with-context-renderer) m.youtube.com##ytm-browse ytm-item-section-renderer ytm-thumbnail-overlay-time-status-renderer[data-style="SHORTS"]:upward(ytm-compact-video-renderer) m.youtube.com##ytm-search ytm-thumbnail-overlay-time-status-renderer[data-style="SHORTS"]:upward(ytm-compact-video-renderer,ytm-video-with-context-renderer) m.youtube.com##ytm-single-column-watch-next-results-renderer ytm-thumbnail-overlay-time-status-renderer span:has-text(/^(0:\d\d|1:0\d)$/):upward(ytm-video-with-context-renderer) youtube.com##ytd-rich-grid-row, #contents.ytd-rich-grid-row:style(display:contents !important;) www.youtube.com##ytd-browse #video-title-link[href*="&start_radio=1"]:upward(ytd-rich-item-renderer) www.youtube.com##ytd-search ytd-radio-renderer www.youtube.com##ytd-watch-next-secondary-results-renderer ytd-compact-radio-renderer www.youtube.com##ytd-player div.videowall-endscreen a[data-is-list=true] m.youtube.com##ytm-browse ytm-radio-renderer:upward(ytm-rich-item-renderer) m.youtube.com##ytm-search ytm-compact-radio-renderer youtube.com##ytd-rich-grid-row, #contents.ytd-rich-grid-row:style(display:contents !important;) youtube.com##ytd-rich-grid-row, #contents.ytd-rich-grid-row:style(display:contents !important;) www.youtube.com##ytd-browse ytd-grid-video-renderer:has(#video-title[title]:has-text(/\blofi\b/i)) www.youtube.com##ytd-browse ytd-rich-item-renderer:has(#video-title-link[title]:has-text(/\blofi\b/i)) www.youtube.com##ytd-search ytd-video-renderer:has(#video-title[title]:has-text(/\blofi\b/i)) www.youtube.com##ytd-watch-next-secondary-results-renderer ytd-compact-video-renderer:has(#video-title[title]:has-text(/\blofi\b/i)) m.youtube.com##ytm-browse ytm-video-with-context-renderer:has(.media-item-headline:has-text(/\blofi\b/i)) m.youtube.com##ytm-search ytm-video-with-context-renderer:has(.media-item-headline:has-text(/\blofi\b/i)) m.youtube.com##.watch-below-the-player ytm-video-with-context-renderer:has(.media-item-headline:has-text(/\blofi\b/i)) www.youtube.com##ytd-browse[page-subtype="subscriptions"] ytd-video-renderer #video-title[title]:has-text(/\blofi\b/i):upward(ytd-item-section-renderer) m.youtube.com##ytm-browse div[tab-identifier="FEsubscriptions"] ytm-video-with-context-renderer:has(.media-item-headline:has-text(/\blofi\b/i)) www.youtube.com##ytd-browse ytd-grid-video-renderer:has(#video-title[title]:has-text(/\b#shorts\b/i)) www.youtube.com##ytd-browse ytd-rich-item-renderer:has(#video-title-link[title]:has-text(/\b#shorts\b/i)) www.youtube.com##ytd-search ytd-video-renderer:has(#video-title[title]:has-text(/\b#shorts\b/i)) www.youtube.com##ytd-watch-next-secondary-results-renderer ytd-compact-video-renderer:has(#video-title[title]:has-text(/\b#shorts\b/i)) m.youtube.com##ytm-browse ytm-video-with-context-renderer:has(.media-item-headline:has-text(/\b#shorts\b/i)) m.youtube.com##ytm-search ytm-video-with-context-renderer:has(.media-item-headline:has-text(/\b#shorts\b/i)) m.youtube.com##.watch-below-the-player ytm-video-with-context-renderer:has(.media-item-headline:has-text(/\b#shorts\b/i)) www.youtube.com##ytd-browse[page-subtype="subscriptions"] ytd-video-renderer #video-title[title]:has-text(/\b#shorts\b/i):upward(ytd-item-section-renderer) m.youtube.com##ytm-browse div[tab-identifier="FEsubscriptions"] ytm-video-with-context-renderer:has(.media-item-headline:has-text(/\b#shorts\b/i)) youtube.com##ytd-rich-grid-row, #contents.ytd-rich-grid-row:style(display:contents !important;) www.youtube.com###related m.youtube.com##ytm-watch ytm-item-section-renderer[data-content-type="related"] www.youtube.com##ytd-browse[page-subtype="home"] m.youtube.com##ytm-browse div[tab-identifier="FEwhat_to_watch"] www.youtube.com##.ytp-ce-element www.youtube.com##.ytp-endscreen-content www.youtube.com##ytd-search ytd-item-section-renderer ytd-shelf-renderer www.youtube.com##ytd-search ytd-item-section-renderer ytd-horizontal-card-list-renderer www.youtube.com###clarify-box www.youtube.com##ytd-shorts .disclaimer-container:upward(#info-panel) m.youtube.com##shorts-video ytm-info-panel-container-renderer 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/"] 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;) www.youtube.com###description .ytd-watch-metadata #items:has(.ytd-video-description-music-section-renderer) m.youtube.com##ytm-video-description-music-section-renderer www.youtube.com###structured-description ytd-video-description-infocards-section-renderer m.youtube.com##.modern-sd-container ytm-video-description-infocards-section-renderer www.youtube.com###structured-description ytd-horizontal-card-list-renderer.ytd-structured-description-content-renderer m.youtube.com##.modern-sd-container ytm-horizontal-card-list-renderer www.youtube.com###chat:remove() youtube.com##+js(aeld, dblclick) youtube.com##+js(aeld, /^pan(start|move|end)$/) www.youtube.com###cinematics.ytd-watch-flexy:remove() www.youtube.com###comments #contents:remove() ```