Skip to content

Instantly share code, notes, and snippets.

// jsactions script.
// download http://www.humberthumbert.net/code/codelist.html
var base_dir = '/Users/youhei/Desktop/'
main()
function main() {
var dir = base_dir + 'hhcode/'
createDir(dir)
var code_dir = dir + 'code/'
Array.forEach(document.images, function(i) {
var pa = i.parentNode
if (pa.rel && pa.rel.match(/^lightbox/)) {
i.src = pa.href
i.style.width = 'auto'
i.style.height = 'auto'
}
})
Github T-shirts をいっしょに買って送料を節約しませんか?
2-200枚なら送料が一律 $11 だそうですよ。
http://rubyrags.com/products/10
東京近郊で渡せる方がよいです。
我もと思うかたは fork me.
--
S希望。なくなりそうで心配。
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url("http://twitter.com/home") {
h1#header img, div.bar {
display: none !important;
}
h1#header a:after {
content: "Twitter" !important;
font-size: 2.5em !important;
}
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("hatena.ne.jp") {
a.keyword:after,
a.okeyword:after {
content: '*k' !important;
font-size: 9px !important;
}
}
// ==UserScript==
// @name fashionsnap enlarge images
// @namespace http://userscripts.org/users/25793
// @include http://www.fashionsnap.com/streetsnap/*
// ==/UserScript==
Array.forEach(document.images, function(i) {
var pa = i.parentNode
if (pa.rel && pa.rel.match(/^lightbox/)) {
i.src = pa.href
// ==UserScript==
// @name LDR - twittericon
// @namespace http://userscripts.org/users/25793
// @include http://reader.livedoor.com/reader/
// ==/UserScript==
var tw = function(feed) {
if (/^http:\/\/twitter\.com/.test(feed.channel.link)) {
var user_id = feed.channel.link.split('/').slice(-1)[0]
// unsafeWindow.console.log(user_id)
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("bccks.jp") {
.nodo { display: none !important; }
}
test
gist.rb test