Skip to content

Instantly share code, notes, and snippets.

Andrew Dupont savetheclocktower

Block or report user

Report or block savetheclocktower

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View forum-f3-t19.html
<title>Test page</title>
<script type="text/javascript">
if (HTMLDivElement) { = function() { alert('aha!'); };
View gist:648005
Tools by Andrew Dupont begins here.
Book 1 - Stuff
Chapter 1 - Generic Objects
Section 1 - Unscrewing
A thing can be unscrewable. A thing is usually not unscrewable.
A thing can be screw-removing. A thing is usually not screw-removing.
View gist:502828
Process: Quick Search Box [778]
Path: /Applications/Quick Search Search Box
Version: 2.0.0 (
Code Type: X86-64 (Native)
Parent Process: launchd [239]
Date/Time: 2010-07-31 20:27:18.348 -0500
OS Version: Mac OS X 10.6.4 (10F569)
Report Version: 6
View redditkeyboardnavigation.user.js
// ==UserScript==
// @name Reddit Keyboard Navigation
// @namespace
// @description Navigate Reddit comments. Expand, collapse, and reply
// without having to pinpoint tiny links with your mouse.
// @author Andrew Dupont
// @include*
// @include*
// @include http://**
// @include https://**
View bb_wtf.js
(function() {
window.setTimeout(wtf, 0);
function wtf() {
View reserved_word.js
// In Safari, try...
var enum;
//-> SyntaxError: Parse error
// IE-specific WTFs are a whole can of worms, but this one towers above all...
function handler() {
alert(window.event === window.event); // alerts 'false'
View mock_geolocation.user.js
// ==UserScript==
// @name Mock Geolocation
// @description MONKEYS!
// @version 2009-01-19
// @namespace
// @include *
// ==/UserScript==
// Mock geolocation. Ugh.
if (!('geolocation' in navigator)) {
View gist:186236
// ==UserScript==
// @name Score Monitor
// @namespace
// @description Monitors fantasy football scores.
// @include http://**
// @author Andrew Dupont
// ==/UserScript==
(function () {
if (!window.fluid) return;
View gist:182548
module PDoc
module Generators
module Html
module Helpers
module BaseHelper
module LinkHelper
You can’t perform that action at this time.