specified the URL type using location-history