StandardIssueCalzone@lemmy.one to Technology@beehaw.orgEnglish · 1 year agoYouTube confirms 3-strike policy for blocking adswww.androidauthority.comexternal-linkmessage-square18fedilinkarrow-up12arrow-down10file-textcross-posted to: france@lemmy.worldtechnology@hexbear.net
arrow-up12arrow-down1external-linkYouTube confirms 3-strike policy for blocking adswww.androidauthority.comStandardIssueCalzone@lemmy.one to Technology@beehaw.orgEnglish · 1 year agomessage-square18fedilinkfile-textcross-posted to: france@lemmy.worldtechnology@hexbear.net
minus-squareCal@beehaw.orglinkfedilinkEnglisharrow-up1·1 year agoCopy this into uBlock Origin. Tells youtube ads are allowed and have been displayed, but no ads will show. Removes all references to shorts. Resizes video thumbnails so there’s 6 wide. `youtube.com##+js(set,yt.config_.openPopupConfig.supportedPopups.adBlockMessageViewModel,false) youtube.com##+js(set,Object.prototype.adBlocksFound,O) youtube.com##+js(set,ytplayer.config.aras.raw_player_response.adPlacements,[]) youtube.com##+js(set,Object.prototype.hasAllowedlnstreamAd,true) ! YT Homepage - Hide the Shorts section youtube.com##[is-shorts] ! YT Menu - Hide the Shorts button www.youtube.com###guide [title=“Shorts”], .ytd-mini-guide-entry-renderer[title=“Shorts”] ! YT Search - Hide Shorts www.youtube.com##ytd-search ytd-video-renderer [overlay-style=“SHORTS”]:upward(ytd-video-renderer) ! YT Search and Channels - Hide the Shorts sections www.youtube.com##ytd-reel-shelf-renderer ! YT Channels - Hide the Shorts tab www.youtube.com##ytd-browse[page-subtype=“channels”] [role=“tab”]:nth-of-type(3):has-text(Shorts) ! YT Subscriptions - Hide Shorts - Grid View www.youtube.com##ytd-browse[page-subtype=“subscriptions”] ytd-grid-video-renderer [overlay-style=“SHORTS”]:upward(ytd-grid-video-renderer) ! YT Subscriptions - Hide Shorts - List View www.youtube.com##ytd-browse[page-subtype=“subscriptions”] ytd-video-renderer [overlay-style=“SHORTS”]:upward(ytd-item-section-renderer) ! YT Subscriptions - New Layout - Hide Shorts www.youtube.com##ytd-browse[page-subtype=“subscriptions”] ytd-rich-item-renderer [overlay-style=“SHORTS”]:upward(ytd-rich-item-renderer) ! YT Sidebar - Hide Shorts www.youtube.com###related ytd-compact-video-renderer [overlay-style=“SHORTS”]:upward(ytd-compact-video-renderer) ! YT Mobile - Hide the Shorts Menu button m.youtube.com##.pivot-shorts:upward(ytm-pivot-bar-item-renderer) ! YT Mobile - Hide Shorts sections m.youtube.com##ytm-reel-shelf-renderer ! YT Mobile - Hide Shorts in search results m.youtube.com##ytm-search ytm-video-with-context-renderer [data-style=“SHORTS”] !(Font Size fix) youtube.com###video-title.ytd-rich-grid-media, #video-title.ytd-rich-grid-slim-media:style(font-size: 1.4rem !important; line-height: 2rem !important;) youtube.com###metadata-line.ytd-video-meta-block:style(font-size: 0.9rem !important; line-height: 1.8rem !important;) ! YouTube Fix & Customization v1.7! (1-2/12) YouTube 4 Videos Per Row Fix (Home and Channel Pages) youtube.com##ytd-rich-grid-renderer:style(width: 80% !important; padding-left: 50px !important; padding-right: 1px !important;) youtube.com##ytd-rich-grid-row, #contents.ytd-rich-grid-row:style(display:contents !important;) youtube.com##ytd-rich-grid-renderer:style(–ytd-rich-grid-items-per-row: 6 !important;)`
Copy this into uBlock Origin. Tells youtube ads are allowed and have been displayed, but no ads will show. Removes all references to shorts. Resizes video thumbnails so there’s 6 wide.
`youtube.com##+js(set,yt.config_.openPopupConfig.supportedPopups.adBlockMessageViewModel,false) youtube.com##+js(set,Object.prototype.adBlocksFound,O) youtube.com##+js(set,ytplayer.config.aras.raw_player_response.adPlacements,[]) youtube.com##+js(set,Object.prototype.hasAllowedlnstreamAd,true)
! YT Homepage - Hide the Shorts section youtube.com##[is-shorts] ! YT Menu - Hide the Shorts button www.youtube.com###guide [title=“Shorts”], .ytd-mini-guide-entry-renderer[title=“Shorts”] ! YT Search - Hide Shorts www.youtube.com##ytd-search ytd-video-renderer [overlay-style=“SHORTS”]:upward(ytd-video-renderer) ! YT Search and Channels - Hide the Shorts sections www.youtube.com##ytd-reel-shelf-renderer ! YT Channels - Hide the Shorts tab www.youtube.com##ytd-browse[page-subtype=“channels”] [role=“tab”]:nth-of-type(3):has-text(Shorts) ! YT Subscriptions - Hide Shorts - Grid View www.youtube.com##ytd-browse[page-subtype=“subscriptions”] ytd-grid-video-renderer [overlay-style=“SHORTS”]:upward(ytd-grid-video-renderer) ! YT Subscriptions - Hide Shorts - List View www.youtube.com##ytd-browse[page-subtype=“subscriptions”] ytd-video-renderer [overlay-style=“SHORTS”]:upward(ytd-item-section-renderer) ! YT Subscriptions - New Layout - Hide Shorts www.youtube.com##ytd-browse[page-subtype=“subscriptions”] ytd-rich-item-renderer [overlay-style=“SHORTS”]:upward(ytd-rich-item-renderer) ! YT Sidebar - Hide Shorts www.youtube.com###related ytd-compact-video-renderer [overlay-style=“SHORTS”]:upward(ytd-compact-video-renderer)
! YT Mobile - Hide the Shorts Menu button m.youtube.com##.pivot-shorts:upward(ytm-pivot-bar-item-renderer) ! YT Mobile - Hide Shorts sections m.youtube.com##ytm-reel-shelf-renderer ! YT Mobile - Hide Shorts in search results m.youtube.com##ytm-search ytm-video-with-context-renderer [data-style=“SHORTS”]
!(Font Size fix) youtube.com###video-title.ytd-rich-grid-media, #video-title.ytd-rich-grid-slim-media:style(font-size: 1.4rem !important; line-height: 2rem !important;) youtube.com###metadata-line.ytd-video-meta-block:style(font-size: 0.9rem !important; line-height: 1.8rem !important;)
! YouTube Fix & Customization v1.7! (1-2/12) YouTube 4 Videos Per Row Fix (Home and Channel Pages) youtube.com##ytd-rich-grid-renderer:style(width: 80% !important; padding-left: 50px !important; padding-right: 1px !important;) youtube.com##ytd-rich-grid-row, #contents.ytd-rich-grid-row:style(display:contents !important;) youtube.com##ytd-rich-grid-renderer:style(–ytd-rich-grid-items-per-row: 6 !important;)`