Use javascript to get a list of variables from the URL