搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox hide input form elements and buttons after I refresh page

more options

Hello,

When I open my application in Firefox, form elements dissapear, I see onlu blank page, but I have found that at the end of the <div> which displays form elements, I found the attribute <div *my_form_goes_here* style="visibility: hidden !important;"</div> at DOM. I wonder why this is happening and is it the fault of Mozilla or a bug on the frontend side of my application. But at the other browsers this problem do not appear. I tried to open the form in safe mode, incognito, no add-ons, tried to create a new Firefox account, tried without logging in, but none of these options gave the expected result - the tab disappears after I refresh the page. I am asking for help.

Hello, When I open my application in Firefox, form elements dissapear, I see onlu blank page, but I have found that at the end of the &lt;div&gt; which displays form elements, I found the attribute &lt;div *my_form_goes_here* style="visibility: hidden !important;"&lt;/div&gt; at DOM. I wonder why this is happening and is it the fault of Mozilla or a bug on the frontend side of my application. But at the other browsers this problem do not appear. I tried to open the form in safe mode, incognito, no add-ons, tried to create a new Firefox account, tried without logging in, but none of these options gave the expected result - the tab disappears after I refresh the page. I am asking for help.

由 cor-el 於 修改

所有回覆 (1)

more options

Is there any difference if you bypass the cache by either:

(A) Clearing Firefox's web content cache before loading the page, or

(B) Reloading with Ctrl+Shift+R ?

If it works on first visit and not from cache, this can be caused by css and scripts that hide and unhide the page during rendering -- based on the load event. Firefox does not Firefox the load event in some cases when restoring a page from cache. https://developer.mozilla.org/docs/Mozilla/Firefox/Releases/1.5/Using_Firefox_1.5_caching

We've had threads on working around this in WordPress themes, but since each situation is different, I can't provide a recipe for your site.