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
640
posted 15 years ago by ThomasGHenry
zanox Web Services - Contextual Product Search Widget for blogger.com
0
750
posted 15 years ago by dne
Replacement config settings for the Drupal FCKeditor module. Replace contents of .../modules/fckeditor/fckeditor.config.js
0
861
posted 15 years ago by zachharkey
changed to detect sring sheet first, then to try object extension.
2
808
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
680
posted 15 years ago by kouphax
JavaScritp Form Validation Framework to validate form fields on the fly, no programming knowledge required.
0
746
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
660
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
4168
posted 15 years ago by Jman
Allows the user to bind an event into a certain position in the call stack for events.
3
1038
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
1930
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
896
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
650
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
637
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
2028
posted 15 years ago by nelsnelson
A little bit of browser detection and some functions to get the viewport height and width, crossbrowser.
1
1602
posted 15 years ago by ShiftyP
include document ready and standard code to run swfobject smoothly in IE6
1
868
posted 15 years ago by apro2000