wizard04


Member since 06/17/2008

Name: Andy Harrison

wizard04

Location: Woodbridge, VA

37 snippets

7416 profile views

95 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

wizard04's Recent SnippetsTagged javascript



« Prev 1 2
This requires my [date formatting script](http://snipplr.com/view/54806/javascript-date-formatting/). (date).toISO() converts the Date object to an ISO 8601 string Date.fromISO() converts an ISO 8601 string to a Date object
0 1017 posted 13 years ago by wizard04
Format a date into a string using several string variables. Usage: (new Date("6/6/2011")).format("%W, %B %d%o, %Y"); Result: Monday, June 6th, 2011
0 1049 posted 13 years ago by wizard04
Brilliant solution using Object.prototype.toString() Test cases included (commented out)
0 693 posted 13 years ago by wizard04
Enhanced cross-browser event handling
0 894 posted 13 years ago by wizard04
Returns an object with the `event.button` values of both the W3C and Microsoft models.
0 825 posted 13 years ago by wizard04
These functions allow you to set a handler for a mouseleave/enter event.
0 755 posted 13 years ago by wizard04
A recent update to either Google's search results page or Firefox's Tab Mix Plus add-on has prevented a locked tab from opening links in a new tab. This Greasemonkey script removes the tracking code on the Google links that causes the problem. I don'...
0 872 posted 14 years ago by wizard04
A more useful version of `typeof` and functions to test if a parameter is of a specified type.
0 641 posted 14 years ago by wizard04
An implementation of class inheritance in JavaScript.
0 697 posted 14 years ago by wizard04
Select some text to translate, or don't select anything to translate the entire page.
0 706 posted 15 years ago by wizard04
This is a very simple bookmarklet that will temporarily sort the *visible* messages in Gmail by subject. You'll have to run it again each time Gmail refreshes the list. [Sort Gmail Messages](javascript:(function(){function%20f(r){var%20t=r...
0 1002 posted 15 years ago by wizard04
These functions allow you to easily set a handler for a virtual mouseleave/enter event. This requires my [MouseBoundaryCrossing](http://snipplr.com/view/8206/crossbrowser-mouseenterleave-solution/) class.
1 757 posted 16 years ago by wizard04
When you're viewing an older version of a snippet, the Plain Text and Highlighted Text links point back to the latest version. This greasemonkey script fixes those links to point to the version you're currently viewing.
0 724 posted 16 years ago by wizard04
Modified just a bit. This version includes the Google Chrome beta.
2 877 posted 16 years ago by wizard04
Just some pseudo-code notes about using labels with `break` and `continue` statements.
0 837 posted 16 years ago by wizard04
Highlight an address and click the bookmarklet to open it in Google Maps
1 761 posted 16 years ago by wizard04
1 1019 posted 16 years ago by wizard04
In mouseout and mouseover event handlers, use this object to check if the mouse was leaving or entering a "landmark" element. See my [MouseEnter/Leave Handlers](http://snipplr.com/view/8913/mouseenterleave-handlers/) snipplet for a practical use....
3 905 posted 16 years ago by wizard04
0 735 posted 16 years ago by wizard04
0 790 posted 16 years ago by wizard04
0 638 posted 16 years ago by wizard04
0 668 posted 16 years ago by wizard04
(Created for JavaScript) These are rather forgiving. Spaces, dashes, or periods are allowed as separators. Extensions can be recognized by several strings (#, x, x., ext, ext., extension). Area code: $1$2 Exchange code: $3 Station code: $...
1 1207 posted 16 years ago by wizard04
« Prev 1 2