We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

History - recent history -time range not showing

  • 10 ردود
  • 4 have this problem
  • 13 views
  • آخر ردّ كتبه Georgi.Valkov

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; }
Read this answer in context 👍 1

All Replies (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">

Modified by 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 ?

Modified by 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 :)