Welcome To Snipplr


Everyone's Recent Snippets Tagged url



1 2 3 4 5 6 ... 9
0 2374 posted 15 years ago by irmantas
This script parses the entered text and it gets all URLs from the text. It will then shorten those URLs and replace the long URLs with shortened ones in the text. If you need only the Shortener Services script, take a look at this snippet <a href="h...
1 2166 posted 15 years ago by stamba
This code will retrieve the url of a featured image in order to use it as a background.
0 1652 posted 15 years ago by jli
For several reasons, including portability, reducing download size, and general code neatness, I like to make all links within a website root relative.
0 1553 posted 15 years ago by weboholic
0 1331 posted 15 years ago by bringer
This function return the current Url, including the Get parameters.
1 3740 posted 15 years ago by sikwan
0 3919 posted 15 years ago by magicrebirth
Limpiar y acortar la url a un enlace que apunta a Youtube
1 1644 posted 15 years ago by chuisxa
Based on http://snipplr.com/view/2734/get-full-url/
0 1737 posted 15 years ago by juanrossi
1 3787 posted 15 years ago by darronz
Add this code to your Global.asax in your ASP.NET project, in the \"Application_BeginRequest\" event.
1 1722 posted 15 years ago by Fogh
Usage example:\\r\\n$./ur1ca.sh \\\"http://www.google.com/search?q=bash+scripting\\\"\\r\\nYour ur1 is: http://ur1.ca/17xpn\\r\\n$
1 2056 posted 15 years ago by ksaver
1 1770 posted 15 years ago by emmanuelbuah
1) Open Automator (Mac) -> Choose: Service -> Applescript -> paste this script -> save. \r\n\r\n2) Open System preferences -> Keyboard -> Services -> Find the service you just saved in Automator, and dobbel-click at the right side of the name of the...
0 1595 posted 15 years ago by Macgeeky
Separate the URL of the current page into an array of strings
1 1704 posted 15 years ago by r4b87
0 3943 posted 15 years ago by vigoncas
0 1665 posted 16 years ago by Drakkon
A source to help you interpreting URLs in plain text as a HTML link. It's an improvement of what was proposed here : http://snipplr.com/view/2371/regex-regular-expression-to-match-a-url/
3 2794 posted 16 years ago by keevkilla
Great little snippet I use to target an external link.
1 1972 posted 16 years ago by IsoJon
on node/add/save redirect your to a url of your choice in Drupal 6 in your own custom module. (in this my module name is qctpmm, it's simply the content type of page and it's redirecting to user.)
0 1689 posted 16 years ago by redhatmatt
0 1575 posted 16 years ago by magicrebirth
1 2489 posted 16 years ago by ptejada
To print out Drupal Arguments.
1 1533 posted 16 years ago by redhatmatt
0 2153 posted 16 years ago by mvrilo
1 2 3 4 5 6 ... 9