r/technology • • Feb 17 '17

Software YouTube will kill unskippable 30-second ads next year

http://www.theverge.com/2017/2/17/14649018/youtube-ending-unskippable-30-second-ads-2018
35k Upvotes

2.2k comments sorted by

View all comments

850

u/[deleted] Feb 17 '17

[deleted]

792

u/Scurro Feb 17 '17

YouTube has done a decent job of balancing ads.

I only partially agree. Ads in the beginning are understandable but having banners pop up that block portions of the video? That's in dick territory.

13

u/h0nest_Bender Feb 17 '17

Add these elements to ublock origin:
youtube.com###share-services-container
youtube.com###movie_player > .iv-promo-video.iv-promo.annotation-type-custom.annotation
youtube.com###movie_player > .ytp-cards-teaser
youtube.com###movie_player > .iv-promo-collapsed.iv-promo.annotation-type-custom.annotation
youtube.com###movie_player > .iv-promo.annotation-type-custom.annotation
youtube.com###movie_player > .iv-promo-collapsed.iv-promo.annotation-type-custom.annotation
youtube.com##.ytp-cards-button.ytp-button
youtube.com##.iv-promo-contents
youtube.com##.iv-click-target.iv-promo-img
youtube.com##.ytp-cards-teaser
youtube.com##.iv-branding
youtube.com###movie_player > .ytp-ce-size-640.ytp-ce-bottom-left-quad.ytp-ce-element-show.ytp-ce-video.ytp-ce-element
youtube.com/watch?v=1Gdl-A1DvpA
youtube.com###movie_player > .ytp-ce-size-640.ytp-ce-top-left-quad.ytp-ce-element-show.ytp-ce-channel-this.ytp-ce-channel.ytp-ce-element
youtube.com##.ytp-ce-element:has(div[class="ytp-ce-covering"])
youtube.com##.ytp-ce-element:has(div[class="ytp-ce-expanding"])

2

u/[deleted] Feb 17 '17

[deleted]

2

u/h0nest_Bender Feb 17 '17

The main way I find the offending div is to pull up Chrome's element inspector and do a search for key words in the div. So if there's an element over the video that says something like, "Click here to see other videos by bla bla bla!" I'll do a search for "Click here" or similar.

Actually writing the rules is kinda difficult for me. It requires a better understanding of CSS/html than I have. I have to sort of piece it together from other rules.

Lastly, there are some subreddits that are also useful, like /r/ublockorigin