搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.