Hash change automation for webpages