Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Dette websted vil have begrænset funktionalitet, mens vi gennemgår vedligeholdelse for at forbedre din oplevelse. Hvis en artikel ikke løser dit problem, og du vil stille et spørgsmål, har vi vores supportfællesskab, der venter på at hjælpe dig på @FirefoxSupport på Twitter og/r/firefox på Reddit.

Søg i Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Læs mere

My site method getting called twice in firefox browser but not on other browsers

  • 6 svar
  • 2 har dette problem
  • 12 visninger
  • Seneste svar af smorele

more options

My site method getting called twice in firefox browser but not on other browsers. When i check the console the it calls twice, one with request header as: Host rapidmicrobiology.dev User-Agent Mozilla/5.0 (Windows NT 6.1; W…) Gecko/20100101 Firefox/56.0 Accept text/html,application/xhtml+xm…plication/xml;q=0.9,*/*;q=0.8 Accept-Language en-US,en;q=0.5 Accept-Encoding gzip, deflate Referer http://rapidmicrobiology.dev/ Cookie XSRF-TOKEN=eyJpdiI6IjJzVlhrQXJ…4YjY2MjcwMjg0MjhkNjUifQ%3D%3D Connection keep-alive Upgrade-Insecure-Requests 1

While the other which is 200 as:

Host rapidmicrobiology.dev User-Agent Mozilla/5.0 (Windows NT 6.1; W…) Gecko/20100101 Firefox/56.0 Accept text/html,application/xhtml+xm…plication/xml;q=0.9,*/*;q=0.8 Accept-Language en-US,en;q=0.5 Accept-Encoding gzip, deflate Referer http://rapidmicrobiology.dev/ Cookie XSRF-TOKEN=eyJpdiI6IjJzVlhrQXJ…4YjY2MjcwMjg0MjhkNjUifQ%3D%3D Connection keep-alive Upgrade-Insecure-Requests 1

My site method getting called twice in firefox browser but not on other browsers. When i check the console the it calls twice, one with request header as: Host rapidmicrobiology.dev User-Agent Mozilla/5.0 (Windows NT 6.1; W…) Gecko/20100101 Firefox/56.0 Accept text/html,application/xhtml+xm…plication/xml;q=0.9,*/*;q=0.8 Accept-Language en-US,en;q=0.5 Accept-Encoding gzip, deflate Referer http://rapidmicrobiology.dev/ Cookie XSRF-TOKEN=eyJpdiI6IjJzVlhrQXJ…4YjY2MjcwMjg0MjhkNjUifQ%3D%3D Connection keep-alive Upgrade-Insecure-Requests 1 While the other which is 200 as: Host rapidmicrobiology.dev User-Agent Mozilla/5.0 (Windows NT 6.1; W…) Gecko/20100101 Firefox/56.0 Accept text/html,application/xhtml+xm…plication/xml;q=0.9,*/*;q=0.8 Accept-Language en-US,en;q=0.5 Accept-Encoding gzip, deflate Referer http://rapidmicrobiology.dev/ Cookie XSRF-TOKEN=eyJpdiI6IjJzVlhrQXJ…4YjY2MjcwMjg0MjhkNjUifQ%3D%3D Connection keep-alive Upgrade-Insecure-Requests 1

Alle svar (6)

more options

hello, hard to explain especially if it's your project behind a local hostname. Check your code, especially javascript, your server settings etc. If your project is only about html/css/javscript (static website) then try to push your sources on a public server if possible, we will try to investigate deeper. In addition, can you reproduce with firefox in safe mode?

more options

But the problem is only with firefox, and not other browsers. My project is in php. I tried in safe mode as well., but the probem exists.

Ændret af garimarameshsingh den

more options

Ok, new browsers built to W3C Standards, implementing that is not easy. So with that said you when making a web page also has to adhere to see thing in your code. So the slightest error in code can break a browser. In this case Firefox. So I am thinking. http://www.rapidmicrobiology.com/ Seems rather a small error here in your code on front page HTML but not going to run each page to see if more. Please check your code 1 more time running your pages through here for HTML https://validator.w3.org/ as per error https://validator.w3.org/nu/?doc=http%3A%2F%2Fwww.rapidmicrobiology.com%2F and CSS through here https://jigsaw.w3.org/css-validator/ errors https://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.rapidmicrobiology.com%2F&profile=css3&usermedium=all&warning=1&vextwarning=&lang=en

So, yes it may still be the browser if you were having other issues on other sites, or something else was going. So suggest that it is the code and Firefox now can not read the incorrect/errors.

Now I may be completely wrong on this altogether.

Please let us know if this solved your issue or if need further assistance.

Ændret af Shadow110 den

more options

the site http://www.rapidmicrobiology.com/ is an old one, I have created same website in php-laravel locally. It is not yet public, how can I check errors/bugs on local pages?

more options

Found no error here https://validator.w3.org/nu/#textarea only warnings.

more options

I do not think it comes from HTML but from javascript or request. Do you have a form or a PHP which could send a request automatically? Again, the best way to help you is to get the website and reproduce your issue.