Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #12846 from brave/issue-12845
Browse files Browse the repository at this point in the history
Remove Masthead Ads on YouTube
  • Loading branch information
bsclifton authored Feb 8, 2018
2 parents 3a81d2c + 008e5c7 commit 8603fec
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/extensions/brave/content/styles/removeEmptyElements.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,9 @@ link[href*='files.coinmarketcap.com'] ~ .container #leaderboard,
link[href*='files.coinmarketcap.com'] ~ .container #leaderboard-bottom {
display: none !important;
}

/* YouTube Masthead and Sidebar Ads */
#player-ads.ytd-watch,
ytd-page-manager #masthead-ad.ytd-browse {
display: none !important;
}

0 comments on commit 8603fec

Please sign in to comment.