diff --git a/app/extensions.js b/app/extensions.js index 54d497e7f51..b3f87568b29 100644 --- a/app/extensions.js +++ b/app/extensions.js @@ -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, diff --git a/app/extensions/brave/content/styles/removeEmptyElements.css b/app/extensions/brave/content/styles/removeEmptyElements.css new file mode 100644 index 00000000000..efa53554b6d --- /dev/null +++ b/app/extensions/brave/content/styles/removeEmptyElements.css @@ -0,0 +1,3 @@ +.ad-hideable { + display: none !important; +} \ No newline at end of file