Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb JavaScript URL shorten

    I'm in need of some help on a code that can auto grab the webpage url yor on and put it into a smaller url. Could redirect to tinyurl.com with url in the input box or does it`s own shortening.... I need it to be a extension form (ex: javascript:alert) xD.

    I don`t know much JavaScript so I came here for help. I'm needing this code for DSi user`s on DSiHub (DSi can't copy'n past) to make it easy for them to get avatars or post long links... It would be awesome if you can make this for me .

  • #2
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,460
    Thanks
    11
    Thanked 600 Times in 580 Posts
    tiny url has an api, i don't think you even need javascript to use it...
    my site (updated 2014/10/20)
    BROWSER STATS [% share] (2014/9/03) IE7:0.1, IE8:4.3, IE11:9.2, IE9:2.7, IE10:2.6, FF:16.8, CH:47.5, SF:7.8, NON-MOUSE:37%


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •