Query string data

Hi,
how do I get query string data when targeting HTML5 (obviously)?

Maybe this? http://stackoverflow.com/questions/5448545/how-to-retrieve-get-parameters-from-javascript

Thanks!

window.location

is a good way of doing it!