Skip to content

Instantly share code, notes, and snippets.

@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 / add_hatenab_keybind.user.js
Created June 21, 2012 02:35 — forked from saitamanodoruji/add_hatenab_keybind.user.js
「Ctrl + H」などで実行されないように変更した。
// ==UserScript==
// @id Add HatenaB keybind
// @name Add HatenaB keybind
// @namespace http://b.hatena.ne.jp/saitamanodoruji
// @author saitamanodoruji
// @version 0.0.2
// @update 2012-06-21T11:38:32.981Z(GMT+09:00)
// @description はてなブックマークにショートカットキーを追加する。
// @include http://b.hatena.ne.jp/*
// @run-at document-end
@YungSang
YungSang / utility.download.js
Created January 12, 2013 20:35
[Deprecated] Patch for Tombloo on Firefox 18 これを直接パッチディレクトリに突っ込んで再起動させるといいはず。 ※ この修正は Tombloo 0.4.33 で取り込まれました。
(function() {
addAround(grobal, 'download', function(proceed, args, self) {
try {
return proceed(args);
}
catch (e) {
return _download.apply(self, args);
}
});
@poochin
poochin / fetch2update.js
Last active December 11, 2015 19:08
https://gist.github.com/4645815 を元に reblog 時に http://www.tumblr.com/svc/post/{fetch,update} に送っている内容を post type で共通しているもの、追加されているもの、抜かれているものをコメントアウトで表記しています。 +type はその type でのみ現れるもの、-type はその type では現れないものです。 全部記述すると長くなってしまうので、短くなるように+-を使用しています。
/* fetch から複製できるもの */
{
"error":, false,
"created_post": true,
"context_page": false /* "dashboard" */,
"post_context_page": "dashboard",
"post": {} /* -post */
}
/* fetch.post から複製できるもの */