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

Commit

Permalink
Block empty containers
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansampson committed Mar 21, 2018
1 parent 9d5977a commit 054037a
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 054037a

Please sign in to comment.