Welcome To Snipplr
Everyone's Recent JavaScript Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This is my first ever bookmarklet. It's simple and could be tightened up but it works for me (FF3 Ubuntu 8.10).
Oh, by the way, what it does is load gmail (if you're signed in, which I always am) with a search for the unread messages (is:unread)...
0
489
posted 15 years ago by ThomasGHenry
zanox Web Services - Contextual Product Search Widget for blogger.com
0
606
posted 15 years ago by dne
Replacement config settings for the Drupal FCKeditor module. Replace contents of .../modules/fckeditor/fckeditor.config.js
0
715
posted 15 years ago by zachharkey
changed to detect sring sheet first, then to try object extension.
2
670
posted 15 years ago by pdswan
Extracts a string paremeter from the url query string. Basic operation wont handle multiples such as radio buttons etc. Just gets the first instance of the name and returns it's value.
1
543
posted 15 years ago by kouphax
JavaScritp Form Validation Framework to validate form fields on the fly, no programming knowledge required.
0
582
posted 15 years ago by clickfind
ErrorConstructor produces error constructors that behave the same way as the seven native error constructors.
Usage: `ErrorConstructor([constructorName])`
*If no constructorName is specified, the default of `Error.prototype.name` is used*
Us...
1
542
posted 15 years ago by Sephr
fix for IE, adds getComputedStyle method for the object window and getPropertyValue method for the object, which returns getComputedStyle
1
3688
posted 15 years ago by Jman
Allows the user to bind an event into a certain position in the call stack for events.
3
884
posted 15 years ago by garside
One of those common tools that's easy to forget about is the Modulus operator (%), which returns the remainder of a division operation.
If you divide some number by two, a remainder of 0 indicates an even number, while a remainder of 1 indicates a...
1
1735
posted 15 years ago by jlizarraga
I just put all the functions in here
the validateConfPass function uses the key event and the two text fields to change the background color of the confPassword field when it does not equal the pass field
0
719
posted 15 years ago by jlvallelonga
send in an event
it returns the key that you pressed if it was alphanumeric or backspace
otherwise it returns "-1"
use with getKeyCode and isAlphaNumeric
0
502
posted 15 years ago by jlvallelonga
to use this function send in an ASCII character code (use my getKeyCode function)
it will return true if the code corresponds to a printable character (not backspace code - 8, enter code - 13, or "undefined")
0
493
posted 15 years ago by jlvallelonga
Here is a small function [[lobo235](http://www.netlobo.com/javascript_tooltips.html "Javascript Tool-tips")] wrote that will parse the window.location.href value and return the value for the parameter you specify. It does this using javascript's buil...
1
1191
posted 15 years ago by nelsnelson
A little bit of browser detection and some functions to get the viewport height and width, crossbrowser.
1
1345
posted 15 years ago by ShiftyP
include document ready and standard code to run swfobject smoothly in IE6
1
729
posted 15 years ago by apro2000