I have a website that loads some external scripts. Those scripts generate dynamic website contents, such as adding a form into a div container.
However, only in Firefox, some scripts fail on the initial page load and the container element stays empty. There's no error in the JS console.
The weird part:
When I have the browsers Developer-Tools open, the website always works perfectly. But as soon as the Developer-Tools are closed again, some containers stay empty on each page load. That makes the issue very difficult to debug...
- Do you have suggestions on how to debug that issue?
- Why does Firefox behave differently when DevTools are open?