Skip to content

Instantly share code, notes, and snippets.

javascript: /* for http://www.switch-pub.co.jp/switch/2011/07/201111705.php */ a=$('h4 a').each(function(){ $('br').remove() });body=$('body');body.html('');a.appendTo(body);$('<style/>').text('body{background: #01b4f6}a{font-size: 300%;color: white !important}a:after{content:"="}').appendTo(body);void(0)
@taizooo
taizooo / gist:941554
Created April 26, 2011 00:39
chrome keyconfig configration
{
"name": "Chrome Keyconfig",
"version": "1.11.0",
"normal_actions": {
"j": {
"name": "scroll down",
"args": []
},
"k": {
"name": "scroll up",
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<!-- DEFAULT COLORS -->
<meta name="color:Background" content="#666"/>
<meta name="color:Content Background" content="#fff"/>
<meta name="color:Header Background" content="#4AADF0"/>
<meta name="color:Title" content="#fff"/>
<meta name="color:Description" content="#094E7C"/>
// ==UserScript==
// @name FLASH KEY
// @namespace http://userscripts.org/users/7010
// @include *
// ==/UserScript==
GM_addStyle(<><![CDATA[
#FLASH_KEY{
position : fixed;
font-size : 600%;
// ==UserScript==
// @name Minibuffer
// @namespace http://white.s151.xrea.com/
// @description Minibuffer
// @include *
// ==/UserScript==
var VERSION = "2009.12.06"; // 2011.03.25 for firefox 4.0 via http://d.hatena.ne.jp/wlt/20110106/1294306315
var Class = function(){return function(){this.initialize.apply(this,arguments)}};
CopyTitleAndURL();
function CopyTitleAndURL(){
const EOL = "\r\n";
var unescapeHTML = function(s){
s = s.replace(/\&/g, "&amp;");
s = s.replace(/</g, "&lt;");
s = s.replace(/>/g, "&gt;");
s = s.replace(/"/g, "&quot;");
// s = s.replace(/\'/g, "&#39");
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url("http://tolta.web.fc2.com/gadget/giantscroll.html") {
.MsoNormal span{
font-size: 48em !important;
}
.MsoNormal {
line-height: 50em !important;
text-align: center !important;
}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" type="text/css" href="../style.css">
<meta http-equiv="Content-Type" content="text/html; charset=euc-jp">
<title>メも</title>
</head>
<body>
<div class=nav>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<!-- DEFAULT COLORS -->
<meta name="color:Background" content="#666"/>
<meta name="color:Content Background" content="#fff"/>
<meta name="color:Header Background" content="#4AADF0"/>
<meta name="color:Title" content="#fff"/>
<meta name="color:Description" content="#094E7C"/>
// ==UserScript==
// @name hatenaAutologin
// @namespace http://d.hatena.ne.jp/taizooo
// @include http*://*.hatena.ne.jp*
// ==/UserScript==
// ref http://gist.github.com/102494
var login = document.querySelector('table a[href*="login"]')
if(login)
location.href = login.href;