Skip to content

Instantly share code, notes, and snippets.

@ChiChou
Last active December 29, 2015 03:49
Show Gist options
  • Save ChiChou/7610439 to your computer and use it in GitHub Desktop.
Save ChiChou/7610439 to your computer and use it in GitHub Desktop.
用户CSS。去除人人网、新浪微博、QQ空间的广告和花哨内容。适用于高度洁癖的互联网用户,连“赞”功能也会隐藏,请慎重使用。
/*人人网*/
#fortune,
#notice_system,
.today-topic,
#friends-panel > div:nth-child(1),
#dressupHomeBtn,
.app-title:nth-child(3),
.advert-main,.wide-sponsors,.sponsors,.sales-poll, /*广告系列*/
.web-function,
#rightapp_side_div,
#showAppMenu, /*应用*/
.vip-level,
[id^=ad],
[data-type="5"],
#footer,
.star-guys,
.star-new,
.legend .from,
.legend .ilike_icon,
.mincmt-diggers.statuscmtitem,
a.ilike_comment,
#homeBirthdayPart,
#recommendFriends,
#xb-cronerspread,
/*QQ空间*/
#idQbossHotbar,
.gdtads_box,
.sns_icenter,
.icenter-right-ad,
.feed .f-ct-appfeed-v2 .appfeed-list,
.qz_like_btn_v3,.f-like._likeInfo,
#applist_html,
#QM_Container_100002,#QM_Container_100003,#QM_Container_333,#QM_Container_100012,#QM_Container_31,
#tb_app_li,#tb_dress_li,#tb_vip_li,
/*新浪微博*/
#pl_content_hometip,
#pl_content_biztips,
#pl_leftnav_group,
#pl_leftnav_app,
#pl_content_publisherTop,
#Box_right,
.WB_right_module,
.gn_title,
.gn_setting:nth-child(5),
.layer_tips,
div[feedtype="ad"],
[node-type="feed_spread"],
[action-type="feed_list_like"], /*赞*/
.WB_handle > .S_txt3:nth-of-type(1), /*赞按钮紧跟的第一个分割线*/
.WBIM_news,
/*腾讯微博*/
#homeBannerNew,
#topMessage,
#app_ad, [id^=app_ad], /*广告*/
#app_actPromo2,#app_actPromo, /*微任务*/
#talkBox > h2 > a,
#medal_box,
#app_recStars,
#sideBanner,
.topNavItem.qk_nav_item.task,
#app_actRich,#app_actRich2,
[ispopula="1"],
.lc_rcmd_item,
.kpi_wabao_widget,
.int_like, .int_like + span:nth-of-type(1) /*赞*/
{display:none !important}
/*美化*/
.gn_search{margin-left:200px !important;}
.W_main{background:#fff !important;}
.W_miniblog{background:#222 !important;}
.B_message_box, .W_miniblog_fb{background:none !important;}
.global_footer{display:none;}
#layBackground{background:#444}
.head-nav .head-nav-menu li a{color:#fff !important}
[id^="admin"]{display:block !important} /*bugfix*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment