krot

urldecode

Feb 21st, 2018
75
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function urldecode(url) {
  2.     return (url!=undefined)?decodeURIComponent(url.replace(/\+/g, ' ')):'';
  3. }
RAW Paste Data