Skip to content

Instantly share code, notes, and snippets.

function pelotto(context){
var a = $x("descendant-or-self::pre", context);
for (var i=0 ; i<a.length ; ++i) {
var s = a[i].textContent;
if ( !/^\s*\/\/ ==UserScript==/.test(s) ) continue;
var div = document.createElement('div');
div.style.marginBottom = "1em";
var l = document.createElement('a');
l.href = "data:text/html;charset=utf-8," + encodeURI(s) + "//.user.js";
window.onload = function() {
var a = $x("descendant-or-self::pre");
for (var i=0 ; i<a.length ; ++i) {
var s = a[i].textContent;
if ( !/^\s*\/\/ ==UserScript==/.test(s) ) continue;
var div = document.createElement('div');
div.style.marginBottom = "1em";
var l = document.createElement('a');
l.href = "data:text/html;charset=utf-8," + encodeURI(s) + "//.user.js";
* 下世話
おおきな未来がまってると思うぞ。
それが素晴らしい未来かどうかはわかんないけど。
いいじゃん、
確率的にはまだ人生の1/4にも達していないんだぜ。
好きに行けよ。
悪くないもんだぜ。
年齢を重さねるのって。
models.register( {
name: 'HatenaDiary',
ICON: 'http://d.hatena.ne.jp/favicon.ico',
POST_URL : 'http://d.hatena.ne.jp',
check : function(ps){
return (/(regular|photo|quote|link)/).test(ps.type) && !ps.file;
},
converters: {
models.register( {
name : 'Clipboard',
ICON : 'data:image/png;base64,'+
'iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0'+
'U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHvSURBVDjLjZI/aFNRFMZ/Ly+GlCYlaMF/'+
'1D+4FQRJREigk7OiIAguHSwUkrkgLhVcpIurQjdBcLAITi4FETpIAw46CGIHJ0tFamlt3rvnfA7J'+
'i2kTwQOXe4b7/c73HW4kCYCnc+engU8M1/b88kaFf1T05O65KvAAuFY6epw79xfZ3XoPwPjkFZ4t'+
'3uP37i+A58DK/PLGy0FAHli5euPmmbFSmfTrByRhnV0AJDFzcYrcyQtIuvXm1evrwBDg7FhpgmRn'+
'k+CBjRePQQLEltoIsb/5jeLk6QJQOBwhD4AbCoFc5QRuAckP5tzfI9neG7mDPIDc8RDwtIOnnZ6D'+
'/6seIOCW9ie7Ij7+mGDfYlB3F4oKfD8yTavVWnJ3zAwz+9wDGB5SsICbkYQc8dgkt+cekiTJ4aEL'+
// ==UserScript==
// @name ReTweetCommand
// @namespace http://d.hatena.ne.jp/Constellation/
// @description ReTweet Command for LDRize
// @include http://twitter.com/*
// @include https://twitter.com/*
// @include http://search.twitter.com/*
// @include http://pcod.no-ip.org/*
// @require http://gist.github.com/198443.txt
// ==/UserScript==
// ==UserScript==
// @name Dashboard + Tombloo
// @namespace http://d.hatena.ne.jp/Constellation/
// @description register reblog command by Tombloo
// @include http://www.tumblr.com/dashboard*
// @include http://www.tumblr.com/show*
// @include http://www.tumblr.com/iphone*
// ==/UserScript==
//
// Detail : Pinned-node Reblog
// ==UserScript==
// @name gist: replace title with filename
// @namespace http://d.hatena.ne.jp/youpy/
// @include http://gist.github.com/*
// @exclude http://gist.github.com/gists
// @require http://gist.github.com/raw/3242/1a7950e033a207efcfc233ae8d9939b676bdbf46
// ==/UserScript==
(function() {
var username = $X('id("owner")//a')[0].textContent;
// ==UserScript==
// @name gist: replace title with filename
// @namespace http://d.hatena.ne.jp/youpy/
// @include http://gist.github.com/*
// @exclude http://gist.github.com/gists
// @require http://gist.github.com/3242.txt
// ==/UserScript==
(function() {
var username = $X('id("owner")//a')[0].textContent;