keep evt.detail.requestURL here so you don't need to call getOriginUrl to compare.