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 #12964 from ryanml/empty-yahoo-ad-container-fix
Browse files Browse the repository at this point in the history
Fixes issue #12918, hides empty ad container on www.yahoo.com
  • Loading branch information
bsclifton authored Feb 12, 2018
2 parents f8f0eb7 + 9677a6b commit 28c7db0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion app/extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,12 @@ let generateBraveManifest = () => {
{
run_at: 'document_start',
all_frames: true,
matches: ['https://www.washingtonpost.com/*', 'https://www.youtube.com/*', 'https://coinmarketcap.com/*'],
matches: [
'https://www.washingtonpost.com/*',
'https://www.youtube.com/*',
'https://coinmarketcap.com/*',
'https://www.yahoo.com/*'
],
css: [
'content/styles/removeEmptyElements.css'
]
Expand Down
3 changes: 2 additions & 1 deletion app/extensions/brave/content/styles/removeEmptyElements.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
.ytp-ad-progress-list,
.ad-container,
#video-masthead,
#watch-channel-brand-div {
#watch-channel-brand-div,
#Billboard-ad {
display: none !important;
}

Expand Down

0 comments on commit 28c7db0

Please sign in to comment.