Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name ad_entry_blocker_mod.user.js
// @namespace http://d.hatena.ne.jp/edvakf/
// @description Remove ad items
// @include http://reader.livedoor.com/reader/
// @include http://reader.livedoor.com/public/*
// @include http://fastladder.com/reader/
// ==/UserScript==
// Inspired by the original script http://blog.endflow.net/?p=58
// The "IE OK?" lines **might** work for IE as well
#!/usr/bin/python
class List(list):
def dup(self):
def _dup(lst,ancestors):
for orig,copy in ancestors:
if lst == orig:
return copy
copy = lst[:]
_ancestors = ancestors+[(lst,copy)]
for i,x in enumerate(copy):
#!/usr/local/bin/ruby -Ku
=begin
最初に Favotter のログを Google リーダーから取得して、同じフォルダに log.xml という名前で保存しておく必要がある。
Google リーダーのログは、ブラウザからこのようなURLで取得できる。
http://www.google.com/reader/atom/feed/http://d.hatena.ne.jp/edvakf/rss?n=5000
http://www.google.com/reader/atom/feed/http%3A%2F%2Ffavotter.matope.com%2Fuserrss.php%3Fuser%3DTERRAZI%26mode%3Dnew?n=5000
または、ツールを使うならこういう手順を踏む必要がある。
javascript:(function(){
/* http://d.hatena.ne.jp/edvakf/20090501/1241208337 */
var Ripple = {
COLOR : [0,0,255], /* color in RGB */
R : 100, /* ripple radius */
T : 50, /* animation timesteps */
HALF_OSCIL_NUM : 4, /* number of half oscillations in T / angular velocity = HALF_OSCIL_NUM*PI/T */
RESOLUTION : 32, /* number of ColorStops to form gradient */
var EventGroup = function(target) {
this.target = target || window;
this.handlers = {};
this.doPreventDefault = true;
this.doStopPropagation = true;
var self = this;
this.delegate = function(e) {
if (!e) e = window.event;
if (!e.target) e.target = e.srcElement;
if (!e.stopPropatation) e.stopPropagation = function() {this.cancelBubble = true};
. + @ # $
% & * = - ; > ,
' ) ! ~ { ] ] ^
/ ( _ : ] <
[ } | 1 2 > 3 4
5 6 7 8 9 0 a b
c d e f g h i j
k l m n o p q r s t u
v w x ] y z A B C D E F G H
I J K L M N O P Q R S T U V W
javascript:var s='%s';var p=s.indexOf('+');if(p>-1){var s1=s.split('+');var s2=s.slice(p+1)};window.location.href='http://www.google.com/search?client=opera&rls=en&sourceid=opera&num=10&ie=utf-8&oe=utf-8&as_qdr=d'+s1[0]+'&q='+s2;
createMigemoDict({
"あ" : {
"あ":["合", "会", "遭", "逢", "当", "有", "蓬", "充", "悪", "在", "荒", "編", "飽", "開", "明", "空", "挙", "揚", "上", "浴", "阿", "娃", "唖", "亜"],
"あい":["愛", "哀", "相", "姶", "挨", "合"],
"あいかわ":["相変", "相川"],
"あいさつ":["挨拶"],
"あいしゃ":["愛車"],
"あいしょう":["愛称", "相性"],
"あいじょう":["愛情"],
"あいだ":["間"],
// ==UserScript==
// @name jaro
// @namespace http://d.hatena.ne.jp/edvakf/
// @include http://www.google.co.jp/search*
// @include http://www.google.com/search*
// @license MIT license (http://www.opensource.org/licenses/mit-license.php)
// ==/UserScript==
// original script : https://gist.github.com/149474/35164ef7a57b2505097ca19e2af81d20f7ad00a6
// modified by : edvakf
// modified to use window.AutoPagerize.addDocumentFilter
// ==UserScript==
// @name SITEINFO Stats
// @namespace http://d.hatena.ne.jp/edvakf/
// @description Collect statistics for AutoPagerize SITEINFO
// ==/UserScript==
(function(fun){
if (window.AutoPagerize) fun();