Skip to content

Instantly share code, notes, and snippets.

@monjudoh
monjudoh / canvas.html
Created December 12, 2011 07:38 — forked from moriyoshi/canvas.html
canvas
<html>
<body>
<canvas id="test" width="320" height="320"></canvas>
<script type="text/javascript">
(function() {
var proto = document.createElement('canvas').getContext('2d').constructor.prototype;
var x = proto.fillText;
proto.fillText = function fillText(text) {
if (proto.fillText !== fillText) {
proto.fillText = fillText;
// ==UserScript==
// @name newmouse
// @namespace http://www.hatena.ne.jp/hitode909
// @include *
// ==UserScript==
var Nears = function(x, y) {
this.centerX = x;
this.centerY = y;
this.i = 0;
/*
* for Ubiquity 0.5
*/
CmdUtils.CreateCommand({
names: ["alc"],
icon: "http://www.alc.co.jp/favicon.ico",
homepage: "http://d.hatena.ne.jp/bellbind/",
author: {name: "bellbind", email: "bellbind@gmail.com"},
license: "GPL",
description: [
//本体
Twittelien = {};
Twittelien.entryFilters = {};
Twittelien.template = {};
Twittelien.classes = {};
(function($){
function TableUpdator(params){
this._parseRules = params['parseRules'] || {};
this._table = params['table'] || new TAFFY([]);