1

Ok I get this NS_BINDING_ABORTED error in Firefox. So in my react component I want to redirect to another page when the user opens this page.

Here's the code:

import { useEffect } from 'react'

const Redirect = function () {
  useEffect(() => {
    window.location.replace('https://google.com')
  }, [])

  return null
}

export default Redirect

BTW it works perfectly fine in Google Chrome

Omar Emad
  • 78
  • 1
  • 6
  • Does this answer your question: [NS_BINDING_ABORTED Shown in Firefox with HttpFox](https://stackoverflow.com/questions/704561/ns-binding-aborted-shown-in-firefox-with-httpfox)? – juliomalves Mar 13 '22 at 18:06

0 Answers0