diff --git a/app/extensions.js b/app/extensions.js index 5a212af9bd3..d7e7d7aa203 100644 --- a/app/extensions.js +++ b/app/extensions.js @@ -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, diff --git a/app/extensions/brave/content/styles/siteHack-marketwatch.com.css b/app/extensions/brave/content/styles/siteHack-marketwatch.com.css new file mode 100644 index 00000000000..03de69bfbe0 --- /dev/null +++ b/app/extensions/brave/content/styles/siteHack-marketwatch.com.css @@ -0,0 +1,7 @@ +.element--ad, +.container--bannerAd, +#brass-rail, +.ad.module, +iframe[src*="smartads.epl"] { + display: none !important; +} \ No newline at end of file