Javascript — Illusive Location Object
Last week I was working with URLs in a javascript project at work, I remembered that JS has a nice window.location object that has easily accisble properties, like window.location.protocol that will output http: for the URL of this blog, and window.location.search will give everything after the question mark (from this: http://www.google.com/search?num=50&hl=en&q=example&aq=f&aqi=g10&aql=&oq=&gs_rfai= get only num=50&hl=en&q=example&aq=f&aqi=g10&aql=&oq=&gs_rfai=). So I […]

