-
Notifications
You must be signed in to change notification settings - Fork 0
/
removeFacebookAds.user.css
72 lines (62 loc) · 2.17 KB
/
removeFacebookAds.user.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/* ==UserStyle==
@name Remove Facebook Ads by keystoneclimber
@namespace http://www.brandontarr.com
@version 1.0.1
@description Removes Facebook Ads
@author keystoneclimber
@homepageURL https://github.com/keystoneclimber/stylus_scripts/
==/UserStyle== */
@-moz-document domain("facebook.com") {
/* Remove advertisements */
#ad_0, #ad_1, #ad_2, #ad_3, #ad_4,
#ad_5, #ad_6, #ad_7, #ad_8, #ad_9,
#ssponsor,
.advert,
.ad_body,
.ad_capsule,
.ad_media,
.comments_ad_image,
.sponsors,
.sponsor_absolute,
.social_ad,
.UIHotStory_Ad { display:none !important; }
/* remove marketplace covid warnings */
#mount_0_0_Ew > div > div:nth-child(1) > div > div.rq0escxv.l9j0dhe7.du4w35lb > div > div > div.j83agx80.cbu4d94t.d6urw2fd.dp1hu0rb.l9j0dhe7.du4w35lb > div.rq0escxv.l9j0dhe7.du4w35lb.j83agx80.pfnyh3mw.jifvfom9.gs1a9yip.owycx6da.btwxx1t3.buofh1pr.dp1hu0rb > div.rq0escxv.l9j0dhe7.du4w35lb.j83agx80.cbu4d94t.g5gj957u.d2edcug0.hpfvmrgz.rj1gh0hx.buofh1pr.dp1hu0rb > div > div > div > div > div.sonix8o1 > span > div {
display: none !important;
}
/* Remove the unnecessary New Stuff and Next Step
sidebar items from the old Facebook Home page. */
#new_stuff_content,
.nextstep { display:none !important; }
/* The following styles are part of the new Facebook redesign.
Updated as of July 24th, 2008. */
.profile_sidebar_ads,
.adcolumn,
.ad_story,
.social_ad_advert,
.social_ad_image,
.sponsor,
.UIStandardFrame_SidebarAds,
#home_sponsor { display:none !important; }
/* The next item is a fix for the center column in the profile
getting shifted when the ads to the right of it are removed. */
.profile .right_column {
float:left !important;
padding-left:10px !important;
margin-left:10px !important;
}
/* Uncomment the .app_story and .app_install_story lines
below if you wish to hide these in the news feed. */
/* Remove all application story entries in the news feed */
/* .app_story { display:none !important; } */
/* Remove "application installed by friend" stories */
/* .app_install_story { display:none !important; } */
/* hide stories */
#fb_stories_card_root{
display: none;
}
/* hide video chats */
#video_chats{
display: none;
}
}