Last active
December 6, 2019 04:22
-
-
Save RolandWarburton/87317fece26d1bb3e1c289693d83c361 to your computer and use it in GitHub Desktop.
forbes.com ad blocker to block forbes anti ad block, oh my (also dark theme)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==UserStyle== | |
@name forbes ad blocker blocker | |
@namespace github.com/openstyles/stylus | |
@version 1.0.0 | |
@description block the modal popup and unfreeze the page | |
@author Roland Egerton-Warburton | |
==/UserStyle== */ | |
@-moz-document domain("forbes.com") { | |
/* Block the ad blocker*/ | |
adblock-modal | |
{ | |
display: none !important; | |
} | |
page-standard | |
{ | |
position: relative !important; | |
} | |
/* Dark Theme */ | |
p, span, h1, h2, h3, h4, h5, h6, a | |
{ | |
color: #eee !important; | |
} | |
body, div | |
{ | |
color: white !important; | |
background-color: #111 !important; | |
} | |
/* Drop Downs */ | |
.recirc-container, .recirc-title | |
{ | |
background-color: #222 !important; | |
} | |
button | |
{ | |
color: #eee !important; | |
} | |
/* Removes any sidebar ads*/ | |
.right-rail * | |
{ | |
display: none !important; | |
} | |
/* Remove share options */ | |
sharing | |
{ | |
display: none !important; | |
} | |
.body-container | |
{ | |
max-width: 1000px !important; | |
} | |
.article-wrapper | |
{ | |
margin: auto !important; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment