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

Commit

Permalink
Fixes #7510
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansampson committed Mar 8, 2017
1 parent 10a8198 commit 290aff9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ let generateBraveManifest = () => {
persistent: true
},
content_scripts: [
{
run_at: 'document_start',
all_frames: true,
matches: ['https://www.washingtonpost.com/*'],
css: [
'content/styles/removeEmptyElements.css'
]
},
{
run_at: 'document_start',
all_frames: true,
Expand Down
3 changes: 3 additions & 0 deletions app/extensions/brave/content/styles/removeEmptyElements.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.ad-hideable {
display: none !important;
}

0 comments on commit 290aff9

Please sign in to comment.