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 #13540 from brave/issue-11730
Browse files Browse the repository at this point in the history
Block empty containers
  • Loading branch information
bsclifton authored Apr 6, 2018
2 parents ba74026 + b664c1d commit 99c1df9
Show file tree
Hide file tree
Showing 2 changed files with 15 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 @@ -42,6 +42,14 @@ let generateBraveManifest = () => {
persistent: true
},
content_scripts: [
{
run_at: 'document_start',
all_frames: true,
matches: ['https://www.marketwatch.com/*'],
css: [
'content/styles/siteHack-marketwatch.com.css'
]
},
{
run_at: 'document_start',
all_frames: true,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.element--ad,
.container--bannerAd,
#brass-rail,
.ad.module,
iframe[src*="smartads.epl"] {
display: none !important;
}

0 comments on commit 99c1df9

Please sign in to comment.