Skip to content

Instantly share code, notes, and snippets.

View syoichi's full-sized avatar

Syoichi Tsuyuhara syoichi

View GitHub Profile
@syoichi
syoichi / tumblr_dashboard_expand_inline_images.user.js
Created February 26, 2012 05:24 — forked from saitamanodoruji/tumblr_dashboard_auto_click_inline_external_images.user.js
ポストに含まれている全ての外部にある画像でクリックイベントを発生させている為に、外部にある画像が偶数個の場合に画像が拡大されない不具合を修正した。また、Textポストの「+ Upload photo」によって貼りつけたインライン画像の拡大にも対応させた。
// ==UserScript==
// @id Tumblr Dashboard Expand Inline Images
// @name Tumblr Dashboard Expand Inline Images
// @namespace http://saitamanodoruji.tumblr.com/
// @author saitamanodoruji
// @version 0.0.2
// @update 2012-02-26T14:32:25.242Z(GMT+09:00)
// @description expand inline images of post in Dashboard.
// @include http://www.tumblr.com/dashboard*
// @include http://www.tumblr.com/show/*
@syoichi
syoichi / twitter_custom_module.user.js
Created February 18, 2012 16:01 — forked from kkosuge/twitter_custom_module.user.js
ログアウトしている時でも外部サービス一覧を表示するように修正した。その他、Twilog・検索ページのリンクの修正、外部サービスにTogetterを追加、Twtrfrndのユーザーを固定せずにログイン中のユーザーに対応、ログイン中のユーザーのページでも動作、HTTPSのページでのみ動作、などの変更を行った。
// ==UserScript==
// @id twitter_custom_module
// @name twitter_custom_module
// @namespace http://kksg.net
// @author kkosuge
// @version 1.1.2
// @update 2012-02-19T01:13:24.757Z(GMT+09:00)
// @description New New Twitter (2011/12/09 ~) のサイドバーに便利サービスのリンクを追加します。
// @include https://twitter.com/*
// @run-at document-end
@syoichi
syoichi / tumblr_dashboard_show_post_time.user.js
Created February 10, 2012 17:24 — forked from saitamanodoruji/tumblr_dashboard_showtime.user.js
AutoPatchWorkやendless scrollingを利用している時にも、読み込んだ次のページでポストの投稿時間が表示されるように修正した。また、Likeなどのページでも動作するように変更した。
// ==UserScript==
// @id Tumblr Dashboard Show Post Time
// @name Tumblr Dashboard Show Post Time
// @namespace http://saitamanodoruji.tumblr.com/
// @author saitamanodoruji
// @version 0.0.2
// @update 2012-02-11T02:31:23.029Z(GMT+09:00)
// @description TumblrのDashboardなどのページでポストの横に投稿時間を表示する。
// @include http://www.tumblr.com/dashboard*
// @include http://www.tumblr.com/show/*
@syoichi
syoichi / gist:1620183
Created January 16, 2012 10:47 — forked from kyo-ago/gist:1619107
Document.getElementByIdのnative/wrapper/aliasの実行速度をChrome 16.0.912.75上でconsole.timeにより計測する
/*jslint devel: true, browser: true, maxerr: 50, maxlen: 80, indent: 4 */
// Edition 2012-01-13
// Chrome 16.0.912.75(V8 3.6.6.15, WebKit 535.7(@103989)) on Windows 7 Home Premium SP1 64bit
(function executeTest(doc, LOOP) {
'use strict';
var body, iterator1, iterator2, iterator3, iterator4, $id, getId, id,
assign1, assign2, assign3, assign4;
@syoichi
syoichi / pixiv_staccfeed_illust_larger.user.js
Created September 29, 2011 13:07 — forked from saitamanodoruji/pixiv_staccfeed_illust_larger.user.js
Chrome 19.0.1084.56、Safari 5.1.7(NinjaKit 0.9.1)、Opera 11.64でも動作するようにし、また、適用するCSSを変更した。
// ==UserScript==
// @id pixiv staccfeed illust larger
// @name pixiv staccfeed illust larger
// @namespace http://retlet.net/
// @author retlet
// @contributer saitamanodoruji
// @version 0.4.1
// @update 2012-06-14T10:07:54.763Z(GMT+09:00)
// @description nya-n.
// @include http://www.pixiv.net/stacc/*
@syoichi
syoichi / G+.FormatDate.user.js
Created August 1, 2011 12:59 — forked from suvene/G+.FormatDate.user.js
仕様変更に対応した。また、実行するページの範囲を差し戻した。
// ==UserScript==
// @id G+ FormatDate
// @name G+ FormatDate
// @namespace https://raw.github.com/gist/1115074/G+.FormatDate.user.js
// @author suVene
// @version 0.2.1.20110805182249
// @description formate date for post date
// @include https://plus.google.com/*
// @run-at document-end
// @priority 0
@syoichi
syoichi / mypixiv.user.js
Created July 22, 2011 10:21 — forked from kk6/mypixiv.user.js
実行するページをホームのみにし、jQueryに依存しないように変更した。
// ==UserScript==
// @id MyPixiv
// @name MyPixiv
// @namespace http://d.hatena.ne.jp/kk6/
// @author kk6
// @version 0.0.2.20110722195207
// @description とりあえずお知らせを隠す機能だけ。
// @include http://www.pixiv.net/mypage.php*
// @run-at document-end
// @compatibility Firefox 5.0(Scriptish 0.1.3), Chrome 12.0.742.122, Safari 5.1(NinjaKit 0.8), Opera 11.50 on Windows 7 Enterprise 32bit
@syoichi
syoichi / b_youpy.user.js
Created July 19, 2011 14:25 — forked from youpy/b_youpy.user.js
$X関数に依存しないように変更した。
// ==UserScript==
// @name make b.hatena.jp/youpy usable
// @namespace http://d.hatena.ne.jp/youpy/
// @include http://b.hatena.ne.jp/youpy*
// ==/UserScript==
document.querySelector('style').sheet.disabled = true;
@syoichi
syoichi / a_smart_dashboard_have_my_id.user.js
Created July 7, 2011 04:43 — forked from rummelonp/a_smart_dashboard_have_my_id.user.js
自分のIDやページのURLがDashboardなどから取得できない時でも部分的に動作するように修正した。また、Likeなどのページでも動作するように変更した。
// ==UserScript==
// @id A smart dashboard have my id
// @name A smart dashboard have my id
// @namespace http://mitukiii.jp/
// @author mitukiii
// @version 0.0.3
// @update 2012-02-16T03:26:28.351Z(GMT+09:00)
// @description TumblrのDashboardで自分からReblogされた/自分のidを含んだpostを折り畳むスクリプト
// @include http://www.tumblr.com/dashboard*
// @include http://www.tumblr.com/show/*
@syoichi
syoichi / yt2gc.user.js
Created June 30, 2011 16:46 — forked from cho45/yt2gc.user.js
出発時刻から到着時刻までに日付けが変わった場合に正常に時刻が設定されない、一部情報が取得できていなかった問題を修正した。また、経由駅の考慮、$X関数に依存しないという変更を行った。既知の問題として、パラメータの文字数が多いと「414 Request-URI Too Large」となってしまう問題を確認している。
// ==UserScript==
// @name Yahoo! Transit to Google Calendar
// @namespace http://lowreal.net/
// @description http://subtech.g.hatena.ne.jp/cho45/20110629/1309273628
// @include http://transit.loco.yahoo.co.jp/search/result*
// @author cho45
// @compatibility Firefox 5.0(Scriptish 0.1), Chrome 12.0.742.112, Opera 11.50
// @charset UTF-8
// @version 0.0.2.20110701131602
// ==/UserScript==