The beforeload event allows tracking URI changes in a frame