Welcome To Snipplr


Everyone's Recent JavaScript Snippets Tagged textmate



« Prev 1 Next »
Activation: con Scope: source.js, source.js.jquery
0 1281 posted 14 years ago by divtagged
0 2450 posted 15 years ago by magicrebirth
Will convert all of the mysql dates on the page to be localized.
0 1378 posted 15 years ago by yisreldov
In order to track links out Google requires you add this snippet of JavaScript to your anchor(a) tag. Replace /G1/example.com with whatever you want to use to identify the link.
1 1491 posted 16 years ago by smoothdzion
This will get the document's body in a very agreeable manner - it returns the first div on the page if there is no body (hey it can happen). Adapted from code by Scott Schiller
0 1034 posted 16 years ago by remotezygote
Thanks to [James]( http://www.girsbrain.org/blog ) for this code.
0 1235 posted 16 years ago by zachharkey
2 1273 posted 17 years ago by dbug13
1 1272 posted 17 years ago by KernelPanic
1 1228 posted 17 years ago by wesbaker
8 1674 posted 17 years ago by mdi
0 1173 posted 17 years ago by wfdev
0 1063 posted 17 years ago by otaqui
0 1237 posted 18 years ago by tjhanley
0 1162 posted 18 years ago by voidlock
Read a page's GET URL variables and return them as an associative array. ---- Example for URL http://www.example.com/index.html?hello=bonjour&goodevening=bonsoir var hash = getUrlVars(); alert(hash['hello']); // prints 'bonjour' alert(hash...
35 14352 posted 19 years ago by Roshambo
redirects a splash page if visited before. Number of days until expiry can be set
0 1377 posted 19 years ago by markhope
Redirect a splash page using javascript. This snippet allows one redirect per session making the backwards navigation possible using the back button.
0 1543 posted 19 years ago by markhope
Just testing snipplr w/ this snippet.
5 2125 posted 19 years ago by jonbaer
« Prev 1 Next »