add frame url to location.hash