Welcome To Snipplr


Everyone's Recent Snippets Tagged url



1 2 3 4 5 ... 9
If you've ever tried to subscribe to a podcast outside of iTunes but only have an iTunes URL, you know how frustrating it is. Turns out that you just need to spoof yourself as an iTunes client to see the direct feed URL. This script helps with exactl...
1 2323 posted 14 years ago by lasavior
I needed a simple function to shorten a link with goo.gl and wrote this, thought it may help someone. Note: you still need an API key from goo.gl
1 2234 posted 14 years ago by lasavior
Returns the video id for any type of youtube url that holds one.
2 2120 posted 14 years ago by KabuqueJoe
I pinched the get_avatar() function from the wp/wp-includes/pluggable.php file and commented out the setting of the avatar as an <img> tag and returned the actual image url instead.
0 1200 posted 14 years ago by camdagr8
Navigate to an url
0 1224 posted 14 years ago by marzsman
takes a url and appends http to it if http is not present
0 1292 posted 14 years ago by vonlof
This function will transform any string to an seo url like string. It suports latin, french and german special characters. Example: applying the function to "Exemplo de aplicação da função" returns "exemplo-de-aplicacao-da-funcao"
2 1387 posted 14 years ago by KabuqueJoe
This function can be used to validate an URL
0 1462 posted 14 years ago by peckham
given a url: >`http://www.someurl.com/page.html?param1=foo&param2=bar` You can use map.param1 outside of the function such as: >`$('#some_hidden_field').val(map.param1);`
0 1022 posted 14 years ago by agdm
0 1289 posted 14 years ago by janvdm
0 2403 posted 14 years ago by stephcode
Modified regex of URL Matcher found on http://daringfireball.net/2010/07/improved_regex_for_matching_urls
0 1223 posted 14 years ago by naren1012
How to create home page url
0 1198 posted 14 years ago by aashvi
Hopefully this covers just about everything. This code has far more lines than htmlify.js but seems to work ok. (I just remembered that " // Loop through the clear text " has no loop breaker - will post a fix, but it's not a show-stopper for mo...
0 2708 posted 14 years ago by jm1248
* example: google.com/reader/view/ folder = /reader * example: google.com/reader folder = / * example: google.com folder = ''
0 2349 posted 14 years ago by markux
1 1533 posted 14 years ago by ptiswitz
- Get the charCode in a String - Navigate to an external URL
0 1172 posted 14 years ago by JaaQ
This code comes from the php documentation (see url)
0 1179 posted 14 years ago by jli
I did not, in fact write this script. I found it here: http://www.webtoolkit.info/javascript-url-decode-encode.html
0 1094 posted 14 years ago by racl101
taken from comments at above URL
1 1970 posted 14 years ago by dan_hoerr
From the tutorial, Validating Various Input Data in Flash (http://active.tutsplus.com/tutorials/actionscript/validating-various-input-data-in-flash/)
2 1793 posted 14 years ago by Activetuts
0 1505 posted 14 years ago by shinya
Efficiently returns the filename by a given URL
0 1283 posted 14 years ago by uudens
1 1804 posted 14 years ago by resting
0 1268 posted 14 years ago by dmertl
0 1259 posted 15 years ago by mmstudio
1 2 3 4 5 ... 9