'How to force reload with firefox via javascript

My webpage reads the URL to load frames in it. For example:

https://luis.impa.br/?=meteor

loads the weather conditions of my city on the right frame. This is done through javascript that reads the URL with window.location.search.substring(1).split("?"), and opening a page in a frame.

In Google Chrome everything works just fine. Yet, in Firefox, if I do a C-Shift-R, the page reloads normally, but if I press the Reload button near the address bar, the page does not reload properly (you can see the spinner failing to stop).

Is there any way to force Firefox (maybe with javascript?) to fully reload the page when pressing the reload button?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source