Skip to content

Instantly share code, notes, and snippets.

@leafgray
Last active December 17, 2015 03:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leafgray/5546976 to your computer and use it in GitHub Desktop.
Save leafgray/5546976 to your computer and use it in GitHub Desktop.
weibo.com clean css
// ==UserScript==
// @name myweibo
// @author leafgray
// @version 1.0
// @grant GM_addStyle
// @include http://*weibo.com/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js
// ==/UserScript==
var style =[
'#Box_center{width:830px;}'
,'#Box_right{display:none;}'
,'.global_footer{display:none;}'
,'#pl_content_biztips{display:none;}'
,'.W_main{background-image:none}'
,'.W_main_l{display:none}'
,'#base_scrollToTop{display:none;}'
,'.W_main_2r{display:none}'
,'.W_main_c{width:830px;}'
,'#plc_profile_header{display:none}'
,'#pl_profile_cover{display:none}'
,'.WB_feed .brainpower{display:none}'
//,'#WB_webim{display:none}'
,'.webim_list{display:none}'
,'.wbim_chat_box .wbim_chat_box_s{position: absolute; right: 0px; bottom: 0px}'
,'.layer_tips{display:none}'
,'.wbim_hello{display:none}'
,'.popular_buss{display:none}'
];
GM_addStyle(style.join(''));
//try{$(".W_close").each(function (){$(this).click()});}catch(e){alert(e.message)}
//try{$("div[feedtype=ad]").hidden=true;}catch(e){alert(e.message)}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment