- Fixed navigation loop by using window.location.replace instead of message passsing to background.js