var pathname = window.location.pathname;
followed by string manipulating functions to remove everything before the "?"
and to split the remaining string into its key > value components by splitting it at
each "=" and "&" character and building an array of keys and values each time.
so it is theoretically possible
but is there a quick way?