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 ldR: Auto fullscreen | |
// @namespace http://hail2u.net/ | |
// @description livedoor Readerを自動的にフルスクリーンにする | |
// @include http://reader.livedoor.com/reader/* | |
// ==/UserScript== | |
window.addEventListener("load", function (e) { | |
var w = unsafeWindow; | |
w.Control.toggle_leftpane(); |
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 ldR: Go prev/next feed with wheel | |
// @namespace http://hail2u.net/ | |
// @description livedoor Readerでホイール・スクロールし切ると自動的に前後のフィードに移動する | |
// @include http://reader.livedoor.com/reader/* | |
// ==/UserScript== | |
window.addEventListener("load", function (e) { | |
var w = unsafeWindow; | |
var t = document.getElementById("right_container"); |
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 ldR: Show first feed | |
// @namespace http://hail2u.net/ | |
// @description livedoor Readerにアクセスした時に最初のフィードを自動的に開く | |
// @include http://reader.livedoor.com/reader/* | |
// ==/UserScript== | |
window.addEventListener("load", function (e) { | |
var w = unsafeWindow; | |
w.register_hook("after_subs_load", function () { |
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 ldR: Skip modified item | |
// @namespace http://hail2u.net/ | |
// @description livedoor Readerで更新されただけの記事は飛ばす。 | |
// @include http://reader.livedoor.com/reader/* | |
// ==/UserScript== | |
window.addEventListener("load", function (e) { | |
// これ以下の期間で更新された場合は飛ばさない設定(秒) | |
// デフォルトは3日、更新を全て飛ばしたい場合は1にする |
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
" Language: Colored CSS Color Preview | |
" Maintainer: Niklas Hofer <niklas+vim@lanpartei.de> | |
" URL: svn://lanpartei.de/vimrc/after/syntax/css.vim | |
" Last Change: 2008 Feb 12 | |
" Licence: No Warranties. Do whatever you want with this. But please tell me! | |
" Version: 0.6 | |
function! s:FGforBG(bg) | |
" takes a 6hex color code and returns a matching color that is visible | |
let pure = substitute(a:bg,'^#','','') |
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
#!/usr/bin/perl | |
# Author: Kyo Nagashima <kyo@hail2u.net>, http://hail2u.net/ | |
# xaicron, http://blog.livedoor.jp/xaicron/ | |
# License: MIT license (http://opensource.org/licenses/mit-license.php) | |
# Modified: 2009-11-17T23:09:27+09:00 | |
use strict; | |
use warnings; |
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
/* Preview: http://www.flickr.com/photos/hail2u/4157658511/ */ | |
@-moz-document url-prefix("http://b.hatena.ne.jp/add") { | |
* { | |
font-family: "Lucida Grande", "Calibri", sans-serif !important; | |
font-size: 100% !important; | |
} | |
body { | |
width: auto !important; | |
} |
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
/* Preview: http://www.flickr.com/photos/hail2u/4171474572/ */ | |
.hatena-bookmark-bookmarklet-container { | |
padding: 0 !important; | |
display: table !important; | |
position: fixed !important; | |
top: 0 !important; | |
right: 0 !important; | |
bottom: 0 !important; | |
left: 0 !important; | |
width: 100% !important; |
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 Lightboxed Hatena Bookmark Bookmarklet | |
// @namespace http://hail2u.net/ | |
// @description はてなブックマークのブックマークレットをLightbox化する | |
// @include http://* | |
// @include https://* | |
// ==/UserScript== | |
GM_addStyle(".hatena-bookmark-bookmarklet-container { padding: 0 !important; display: table !important; position: fixed !important; top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; background-color: transparent !important;}"); | |
GM_addStyle(".hatena-bookmark-bookmarklet-container div { padding: 0 !important; background-image: none !important; text-align: center !important;}"); |
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
#!/usr/bin/env perl | |
# gccs.pl - Compile your JavaScript code with Google Closure Compiler Service | |
# Usage: gccs.pl < <original file> > <compiled file> | |
# License: http://hail2u.mit-license.org/2009 | |
# Modified: 2012-01-04T18:43:15+09:00 | |
use strict; | |
use warnings; |