This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: (function(_HaH) { | |
var originalTitle = document.title; | |
var hintKeys = new String('asdfghjkl'); | |
var choices = []; | |
var choice = ''; | |
var xpath = '//a[@href]|//input[not(@type=\x22hidden\x22)]|//textarea|//select|//img[@onclick]|//button'; | |
xpath += '|' + xpath.replace(/\/\//g, '//xhtml:'); | |
var defaultType = 'HaHxlink'; | |
function defaultAction(e) { | |
e.focus(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: (function(doc) { | |
function addListeners(){ | |
var add = window.addEventListener; | |
add('mouseover',overHandler,false); | |
add('mouseout',outHandler,false); | |
add('click',clickHandler,false); | |
add('keypress',keyHandler,false); | |
} | |
function removeListeners(){ | |
var rm = window.removeEventListener; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name fastladder_fixed_item_height.user.js | |
// @namespace http://d.hatena.ne.jp/edvakf/ | |
// @description Limit the height of items on LDR/Fastladder | |
// @include http://reader.livedoor.com/reader/ | |
// @include http://reader.livedoor.com/public/* | |
// @include http://fastladder.com/reader/ | |
// ==/UserScript== | |
// The "IE OK?" lines **might** work for IE as well | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name fastladder_show_fc2_images.user.js | |
// @namespace http://d.hatena.ne.jp/edvakf/ | |
// @description Make fc2 images viewable on LDR/Fastladder | |
// @include http://reader.livedoor.com/reader/ | |
// @include http://reader.livedoor.com/public/* | |
// @include http://fastladder.com/reader/ | |
// ==/UserScript== | |
(function(w,d){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//for Firefox | |
//javascript: | |
(function(){ | |
var ta=document.createElement('textarea'); | |
ta.rows=1; | |
ta.id='fuga'; | |
ta.style.height='auto'; | |
ta.style.minHeight='none'; | |
document.body.appendChild(ta); | |
var st=getComputedStyle(ta,''); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function TextURLLinker() { | |
var TAG = 'a'; | |
var STYLE = 'color:#13819f;display:inline !important;'; | |
if (document.contentType && !/html/i.test(document.contentType)) | |
return; | |
var fn = function(doc) { | |
$XA('descendant::text()[contains(self::text(),"ttp") and not(ancestor::a) and not(ancestor::textarea) and not(ancestor::script) and not(ancestor::style)]', doc)(function(txt) { | |
var df, text = txt.nodeValue.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>'), | |
parent = txt.parentNode, range = document.createRange(), | |
newText = text.replace(/h?(ttps?:\/\/[^\s\])'")」】]+)/g, function($0, $1) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name cleanAutoPager | |
// @namespace http://d.hatena.ne.jp/ | |
// @description | |
// @include http://* | |
// @include https://* | |
// @exclude https://mail.google.com/* | |
// ==/UserScript== | |
(function(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name mata opera de google | |
// @include http://*.wikipedia.org/wiki/* | |
// @include http://twitter.com/public_timeline?from=userjs | |
// ==/UserScript== | |
(function() { | |
if (location.href.indexOf('wikipedia.org')>0) { | |
var wikipe = function() { | |
var object = document.createElement('object'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name mata wikipedia yonderu | |
// @include http://*.wikipedia.org/wiki/* | |
// @include http://twitter.com/public_timeline?from=userjs | |
// ==/UserScript== | |
(function() { | |
if (location.href.indexOf('wikipedia.org')>0) { | |
var wikipe = function() { | |
var object = document.createElement('object'); |
OlderNewer