Last active
October 4, 2015 22:47
-
-
Save ka-ka-xyz/2710988 to your computer and use it in GitHub Desktop.
ニコニコ動画ZeroWatch市場パネルを左寄せするグリモン。将来的にZeroWatchは大幅に修正されるはずなので暫定版。詳細は http://d.hatena.ne.jp/ka-ka_xyz/20120505/1336222168 で。
This file contains 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 HatenaMod(ka-ka_xyz) | |
// @include http://b.hatena.ne.jp/entrylist* | |
// @include http://b.hatena.ne.jp/hotentry* | |
// ==/UserScript== | |
//see http://d.hatena.ne.jp/ka-ka_xyz | |
(function (d, func) { | |
var h = d.getElementsByTagName('head')[0]; | |
var s1 = d.createElement("script"); | |
s1.setAttribute("src", "https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"); | |
s1.addEventListener('load', function() { | |
var s2 = d.createElement("script"); | |
s2.textContent = "jQuery.noConflict();(" + func.toString() + ")(jQuery);"; | |
h.appendChild(s2); | |
}, false); | |
h.appendChild(s1); | |
})(document, function($) { | |
$("li.entry-unit").width("100%"); | |
$("li.entry-unit").removeClass("video"); | |
$(".thumbnail").hide(); | |
$("li.domain").hide(); | |
$(".shim-elem-for-height").hide(); | |
$("ul.entry-vertical-3 ul.entry-meta").css("padding", "0px 0px 0px 0px"); | |
$("ul.entry-vertical-3").removeClass("entry-vertical-3"); | |
$("ul.entry-vertical-4").removeClass("entry-vertical-4"); | |
$("li.entry-unit ul.users").css("height","initial"); | |
var width = "85%"; | |
$("#container").css("width",width); | |
$("#branding").css("width",width); | |
$("#navi-category").css("width",width).css("height","initial"); | |
$("#navi-page").css("width",width).css("height","initial"); | |
$("#main>div.box-wrap.top").css("width",width) | |
$("blockquote").css("font-size","0.8em").css("color","#585858"); | |
$("ul.users a").css("display","inline").css("float","right"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment