搜尋 Mozilla 技術支援網站

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

Learn More

History - recent history -time range not showing

more options

Hi i have a problem with clearing my recent history. The problem is my time range to clear is buged and not showing. I tried with reinstalling firefox and clearing all settings but it didn't help. So i decided to write here for some help. Thanks

Hi i have a problem with clearing my recent history. The problem is my time range to clear is buged and not showing. I tried with reinstalling firefox and clearing all settings but it didn't help. So i decided to write here for some help. Thanks

被選擇的解決方法

There seems to be more wrong looking at the bugs that have been filed:


Only these two lines need to be in the userChrome.css file:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#SanitizeDialog { width: 34em !important; }
從原來的回覆中察看解決方案 👍 1

所有回覆 (10)

more options

I uploaded a screen here it is

more options

Why nobody answers ?

more options

Can you resize this pop-up if you press Alt+Space to open its system menu?

You can check for problems caused by a corrupted localstore.rdf file.

more options

Yes i can resize it, but when i close it gets back to normal. I tried with deleting localstore.rdf form profile folder but nothing happens ;\

more options

The screenshot shows a window that is much smaller then it should be, so there is definitely something wrong here.

Does starting Firefox in Safe Mode has any effect?

  • Help > Restart with Add-ons Disabled
more options

No its the same with safe mode

more options

I've installed the Bulgarian Firefox version and I see the same small Clear Recent History window.

The DOM Inspector shows a width of 14em and that is really too small compared to what I get with the en-US version (width: 34em).

Add code to the userChrome.css file below the default @namespace line to increase the default width.

The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#SanitizeDialog {width: 34em !important;}

See:

  • view-source:chrome://browser/locale/sanitize.dtd

Sounds that something got wrong here and maybe a bug should be filed:

<!-- LOCALIZATION NOTE (dialog.width2): width of the Clear Recent History and
     Clear History on Shutdown dialogs.  Should be large enough to contain
     the item* strings above on a single line.  The column width should be set
     at half of the dialog width. -->

<!ENTITY dialog.width2                 "14em">   (shouldn't this be at least 28em ?)
<!ENTITY column.width2                 "14em">

The sanitize.dtd in the en-US locale:

<!-- LOCALIZATION NOTE (dialog.width2): width of the Clear Recent History and
     Clear History on Shutdown dialogs.  Should be large enough to contain
     the item* strings above on a single line.  The column width should be set
     at half of the dialog width. -->
<!ENTITY dialog.width2                 "34em">
<!ENTITY column.width2                 "17em">

由 cor-el 於 修改

more options

Thank you for your answer. I couldnt find the chrome folder so i created one and put userChrome.css file then i insert your code

uploaded a picture of the code is this correct ?

由 Georgi.Valkov 於 修改

more options

選擇的解決方法

There seems to be more wrong looking at the bugs that have been filed:


Only these two lines need to be in the userChrome.css file:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#SanitizeDialog { width: 34em !important; }
more options

Thank you very much for your help and spended time :)