Skip to content

Instantly share code, notes, and snippets.

@kurumigi
kurumigi / copy_url_in_google_searc.user.js
Created May 12, 2009 05:30
[GM script]Copy URL in Google search
// ==UserScript==
// @name Copy URL in Google search
// @namespace http://d.hatena.ne.jp/kurumigi/
// @description Enable copying URLs if logged in to Google.
// @include http*://www.google.tld/search*
// @include http*://www.google.tld/custom*
// @include http*://www.google.tld/cse*
// @version 0.2
// ==/UserScript==
@kurumigi
kurumigi / amazon_short_url_maker.user.js
Created May 12, 2009 07:03
[GM script]Amazon Short URL Maker
// ==UserScript==
// @name Amazon Short URL Maker
// @namespace http://d.hatena.ne.jp/kurumigi/
// @include http://www.amazon.tld/*
// @include http://amazon.tld/*
// ==/UserScript==
(function() {
if (document.getElementsByName('ASIN').length) {
@kurumigi
kurumigi / touch-up_die_linische_katze.user.js
Created May 12, 2009 07:26
[GM script]Touch-up for "Die Linische Katze"
// ==UserScript==
// @name touch-up "Die Linische Katze"
// @namespace http://d.hatena.ne.jp/kurumigi/
// @include http://homepage.mac.com/linstedt/*
// ==/UserScript==
(function(){
document.body.innerHTML = document.body.innerHTML.replace(/&([AOUaou]uml)/mg,"&$1;");
})();
@kurumigi
kurumigi / autopagerize_filter_for_.user.js
Created May 13, 2009 02:29
[GM script]AutoPagerize Filter for gist
// ==UserScript==
// @name AutoPagerize Filter for gist
// @namespace http://d.hatena.ne.jp/kurumigi/
// @description Rewriting posted time if using "AutoPagerize".
// @include http://gist.github.com/*
// @include https://gist.github.com/*
// ==/UserScript==
(function() {
$ = unsafeWindow.$;
@kurumigi
kurumigi / popup_alt_with_autopagerize.user.js
Created May 13, 2009 02:31
[GM script]Popup Alt with AutoPagerize
// ==UserScript==
// @name Popup Alt with AutoPagerize
// @namespace http://d.hatena.ne.jp/kurumigi/
// @description The Alt attribute is displayed same as the Title attribute.
// @include *
// ==/UserScript==
// This script based on "Popup Alt".
// (http://espion.just-size.jp/archives/05/136155838.html)
// Thanks to Kyosuke Takayama.
@kurumigi
kurumigi / gist:113450
Created May 18, 2009 12:50
[searchDef of "Greased Lightbox"]toranoana
// toranoana
{
name : 'toranoana',
includeRegExp : /^http:\/\/www.toranoana.jp\/mailorder\/article\/\d{2}\/\d{4}\/\d{2}\/\d{2}\/\d{12}\.html$/i,
linkRegExp : /^javascript:popUpWindow/,
findImageRegExp : /^(http:\/\/img.toranoana.jp\/)(img(?:18)?\/\d{2}\/\d{4}\/\d{2}\/\d{2}\/\d{12}-\d)\.gif$/i,
replaceString : '$1popup_$2p.jpg',
showFunction : function(event) { greasedLightbox.showFrom(event, 'toranoana'); return false; }
},
@kurumigi
kurumigi / gist:127778
Created June 11, 2009 08:16
[searchDef of "Greased Lightbox"]amazon
// amazon
{
name : 'amazon',
includeRegExp : /^http:\/\/www\.amazon\.(?:co(?:m|\.jp|\.uk)|fr|de|ca)\//i,
linkRegExp : /^http:\/\/www\.amazon\.(?:co(?:m|\.jp|\.uk)|fr|de|ca)\/gp\/product\/images\/(\w{10})\/.*ref=dp_(?:otherviews|image).*$/i,
replaceString : 'http://ec2.images-amazon.com/images/P/$1.01._SCLZZZZZZZ_.jpg',
showFunction : function(event) { greasedLightbox.showFrom(event, 'amazon'); return false; }
}, // amazon
@kurumigi
kurumigi / 1470navigationandadsswit.user.js
Created July 2, 2009 15:45
[Greasemonkey script]1470 Navigation and Ads Switcher
// ==UserScript==
// @name 1470 Navigation and Ads Switcher
// @namespace http://d.hatena.ne.jp/kurumigi/
// @description Can switch display of the header, navigation bar and ads by clicking the triangle icon on top or on right.
// @include http://1470.net/*
// ==/UserScript==
// This script based on "Google Calendar Header and Navigation Switcher".
// (http://userscripts.org/scripts/show/8507)
// Thanks to yooskeh.
@kurumigi
kurumigi / hatenahaikuusersandkeywo.user.js
Created July 2, 2009 15:46
[GM script]Hatena Haiku Users and Keywords Switcher
// ==UserScript==
// @name Hatena Haiku Users and Keywords Switcher
// @namespace http://d.hatena.ne.jp/kurumigi/
// @description Can switch display of the "Users" and "Keywords" by clicking the triangle icon on left or right respectively.
// @include http://h.hatena.ne.jp/*
// @include http://h.hatena.com/*
// @include http://h1beta.hatena.ne.jp/*
// @include http://h1beta.hatena.com/*
// @exclude http://h.hatena.ne.jp/mobile/*
// @exclude http://h.hatena.com/mobile/*
@kurumigi
kurumigi / search_enginessbm.user.js
Created July 6, 2009 07:35
[GM script]Search engines+SBM
// ==UserScript==
// @name Search engines+SBM
// @namespace http://d.hatena.ne.jp/kurumigi/
// @description Show SBM count in Search engines.
// @include http://*
// ==/UserScript==
// this script based on "Google+SBM".
// http://wildlifesanctuary.blog38.fc2.com/blog-entry-141.html