Created
April 6, 2011 00:25
-
-
Save nkmrgk/904887 to your computer and use it in GitHub Desktop.
Hatena Bookmark for old type
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Hatena Bookmark for old type | |
// @namespace http://nkmrgk.tumblr.com/ | |
// @include http://b.hatena.ne.jp/entry/* | |
// @include http://b.hatena.ne.jp/entry?mode=more&url=* | |
// @version 1.0.1 | |
// ==/UserScript== | |
(function(){ | |
var d=window.document; | |
d.documentElement.appendChild(d.createElement('style')); | |
var s=d.styleSheets; | |
// entry | |
s[s.length-1].insertRule('.bookmark-list li div.header {display:inline}',0); | |
s[s.length-1].insertRule('.bookmark-list img.profile-image {width:16px;height:16px}',0); | |
// mode=more | |
s[s.length-1].insertRule('.nocomment-hide .mode-more .bookmark-list li div.header {display:inline}',0); | |
s[s.length-1].insertRule('.nocomment-hide #container.mode-more .bookmark-list img.profile-image {width:16px;height:16px}',0); | |
// li (1px to top and bottom) | |
s[s.length-1].insertRule('.bookmark-list li {padding: 1px 10px 1px 50px;}',0); | |
if (0) { | |
s[s.length-1].insertRule('.ads300x250 {display:none}',0); | |
s[s.length-1].insertRule('#main .guest-message {display:none !important}',0); | |
s[s.length-1].insertRule('div.asin-container, #asin-sponsor-item, #asin-rel-item {display:none}',0); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment