-
Notifications
You must be signed in to change notification settings - Fork 0
/
bookmarklet.js
11 lines (11 loc) · 1.96 KB
/
bookmarklet.js
1
2
3
4
5
6
7
8
9
10
11
javascript: (function() {
var newcss = ('#blueBarDOMInspector, #pagelet_dock, #PageComposerPagelet_, .UFIAddComment, .UFILikeLink, .UFIReplyLink, #pagelet_composer div._mp3, #pagelet_group_composer, #page_recommendations_vertex_composer, #leftCol, #vertex_crowdsource_item, .PageLikeButton, ._591g, #pagelet_composer div._mp, #follow_unfollow_group, ._5lc6, ._52fl, button.selected, #u_0_1p > div._sa_._5vsi._ca7._192z > div > div, #follow_unfollow_group, div#rhc_col ._38my, button.FriendRequestAdd, .fbTimelineStickyHeader, div#fbTimelineHeadline .actionsDropdown, #pagelet_escape_hatch, .plusIcon, .uiTypeahead, #u_jsonp_2_a, a._42ft._4jy0._4jy4._4jy2.selected._51sy, #pagelet_group_ > div._4-u2.mbm._54l3._4-u8 > div > div.lfloat._ohe > div > div:nth-child(2), #rhc_col > div:nth-child(2) > div._4-u3._2ph_, .comment_link, .share_action_link, .topbar, .follow-bar, .Icon--reply, .inline-reply-tweetbox, .dashboard-right, #yt-masthead-container, #comment-section-renderer > div.comment-simplebox-renderer.yt-uix-servicelink > span > span > span > img, #comment-section-renderer > div.comment-simplebox-renderer.yt-uix-servicelink > div.comment-simplebox-renderer-collapsed.comment-simplebox-trigger > div.comment-simplebox-renderer-collapsed-content, .watch-secondary-actions, div#aux, #skyline-promo-single .action-container, .endorse-user, .select-follow-action, #premium-site-nav, #account-nav, #siteflow-widget-next, .js-translate-tweet { display: none !important; } /* ul.uiList._4kg { height: 45px !important; } */ #contentCol { margin-left: 0 !immportant; } .PermalinkOverlay-with-background { background: #f5f8fa !important; } ');
if ("\v" == "v") {
document.createStyleSheet().cssText = newcss
} else {
var tag = document.createElement("style");
tag.type = "text/css";
document.getElementsByTagName("head")[0].appendChild(tag);
tag[(typeof document.body.style.WebkitAppearance == "string") ? "innerText" : "innerHTML"] = newcss
}
})();