Skip to content

Instantly share code, notes, and snippets.

@leafgray leafgray/weibocss.css
Last active Dec 17, 2015

Embed
What would you like to do?
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
You can’t perform that action at this time.