Skip to content

AmgedOsman/bitlifyer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bitlifyer

jQuery plugin that creates bit.ly short urls of any url pasted into textarea, styled using twitter's bootstrap

Trigger

jQuery("#textareaId").bitlifyer({ url: "http://www.verylongdomain.com/and/extra/pages/"});

URLs Matching setup

/* (^|\s) : ensure that we are not matching an url embeded in an other string
    (https?:\/\/)?                    : the http or https schemes (optional)
    
    [\w-]+(\.[\w-]+)+\.?              : domain name with at least two components;
                                        allows a trailing dot
                                        
    (:\d+)?                           : the port (optional)
    
    (\/\S*)?                          : the path (optional)
    
   */
Disclaimer ========= It's my 1st code ever, and it was created to serve my needs, if you think there are roam for improvement please let me know.

Cheers from Egypt

About

create bit.ly short urls of any url pasted in textarea

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published