Prevent orange popup at screen bottom on foxnews.com?
How do I prevent the orange popup screen on the bottom of the foxnews.com page? I have Adblock Plus and uBlock Origin installed--is there a setting in one or both of these add-ons that would do it?
How do I prevent the orange popup screen on the bottom of the foxnews.com page? I have Adblock Plus and uBlock Origin installed--is there a setting in one or both of these add-ons that would do it?
منتخب شدہ حل
That is a DIV with class="alert-container".
I'm not using content blocker and would use code in userContent.css instead.
Add code to the userContent.css file.
@-moz-document domain(www.foxnews.com){ .alert-container {display:none!important;} }
- create the chrome folder (lowercase) in the <xxxxxxxx>.default profile folder if this folder doesn't exist
- use a plain text editor like Notepad to create a (new) userContent.css file in the chrome folder (file name is case sensitive)
- paste the code in the userContent.css file in the editor window
- make sure that you select "All files" and not "Text files" when you save the file via "Save file as" in the text editor as userContent.css.
otherwise Windows may add a hidden .txt file extension and you end up with a not working userContent.css.txt file
تمام جوابات (2)
منتخب شدہ حل
That is a DIV with class="alert-container".
I'm not using content blocker and would use code in userContent.css instead.
Add code to the userContent.css file.
@-moz-document domain(www.foxnews.com){ .alert-container {display:none!important;} }
- create the chrome folder (lowercase) in the <xxxxxxxx>.default profile folder if this folder doesn't exist
- use a plain text editor like Notepad to create a (new) userContent.css file in the chrome folder (file name is case sensitive)
- paste the code in the userContent.css file in the editor window
- make sure that you select "All files" and not "Text files" when you save the file via "Save file as" in the text editor as userContent.css.
otherwise Windows may add a hidden .txt file extension and you end up with a not working userContent.css.txt file
It worked! Thanks, Cor-el!