store current loading url and compare with location.href on complete becasue redirect complete fired before main document complete.