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

Fixes issue #12918, hides empty ad container on www.yahoo.com #12964

Merged
merged 1 commit into from
Feb 12, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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