Welcome To Snipplr


Everyone's Recent Snippets Tagged url



1 2 3 4 5 ... 9
This will return the value of "param" form the URI. For example if you have www.example.com/index.html?param=some_value it will return "some_value". NOTE! This only works if you use Prototype JavaScript framework.
0 2458 posted 14 years ago by srka
This will get the 11-character YouTube video ID from any valid YouTube URL. Based on http://snipplr.com/view/57065/get-youtube-video-id/ but made more robust to handle additional URL inputs
0 3177 posted 14 years ago by jmiller
Made for WebCloud.
1 1212 posted 14 years ago by Schart
0 1920 posted 14 years ago by rwunsch
usage : var author_value = getQuerystring('author');
0 1414 posted 14 years ago by nickaranz
(I did not write this, but I forgot where I got it.) This code will find all the variables passed though the URL and return the one you are looking for.
0 1291 posted 14 years ago by sicbot
I found some cases where JavaScript won't properly handle the Plus symbol (+)
0 1525 posted 14 years ago by Jamie
0 1445 posted 14 years ago by focal55
You do not have Page object available everywhere to use Page.ResolveUrl. Here is an alternate.
0 1520 posted 14 years ago by plugables
Rescatamos los datos que pasamos por apprequest .
0 2607 posted 14 years ago by serialk89
Rescato variables desde un iframe con $signed_request
0 2558 posted 14 years ago by serialk89
Usage: Let's say we have an url: http://primera.vremenno.net?foo=yes&bar=no var hash = getUrlVars(); alert(hash['foo']); // returns 'yes' alert(hash['bar']); // returns 'no'
0 2560 posted 14 years ago by a1ias
Convert a string to friendly string.
0 1276 posted 14 years ago by alyssonweb
0 1194 posted 14 years ago by prianto
0 1591 posted 14 years ago by magicrebirth
0 1242 posted 14 years ago by manuelpedrera
This will get the file path for something. Typically used with a cms:CMSRepeater
0 3596 posted 14 years ago by inreflection7
Use this script in Automator, and make a Service of it. Then give the service a shortcut in System Preferences -> Keyboard In the script you have to switch the "SETT_INN_API-KODE_FRA_PROWL_HER" with a Prowl API code (https://www.prowlapp.com/api_s...
0 3459 posted 14 years ago by Macgeeky
0 1232 posted 14 years ago by dubogii
0 2497 posted 14 years ago by dubogii
1 1120 posted 14 years ago by psteinweber
Parses a url correctly even with a url as query parameter, also retuns dirname, basename and extension besides the other parse_url bits. See comments for more info.
0 1586 posted 14 years ago by tasmanweb
IE9 renders google fonts nicer when combining two fonts into the same URL call in the style sheet.
2 1767 posted 14 years ago by jamigibbs
1 2 3 4 5 ... 9