Skip to content

Instantly share code, notes, and snippets.

@joewalker
joewalker / scratchpad.js
Created June 17, 2012 12:15 — forked from paulrouget/scratchpad.js
Firefox Magnifier
/*
TODO:
- zoom level menu
- need to find a way to re-start the update
- add color tools
- integrate better in Firefox
- crosshair has a 1px offset
*/
@joewalker
joewalker / gist:2944434
Created June 17, 2012 12:35 — forked from anonymous/gist:2661058
Micro Debugger Demo
var debuggr = new Debugger(gBrowser.selectedBrowser.contentWindow);
debuggr.onEnterFrame = function(frame) {
alert(frame.callee.name + "(" + frame.arguments.join(", ") + ")");
};