X
Thinta lapha ukuze uye kuveshini yamakhalekhukhwini kusayithi.

Isithangami Sabeseki

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

Clear Cache and reset about:config from commandline

Kuphostiwe

Hi all,

I would like to run a batch script (on windows 7/10) to do the following to my FireFox (52.3.0 ESR): - Clear the cache - Reset the about:config settings

is there a way to do so form outside the browser so that I don't need to touch the mouse, as I want to embed it into an existing script.

KR, Paul

Hi all, I would like to run a batch script (on windows 7/10) to do the following to my FireFox (52.3.0 ESR): - Clear the cache - Reset the about:config settings is there a way to do so form outside the browser so that I don't need to touch the mouse, as I want to embed it into an existing script. KR, Paul

Eminye Imininingwane Yohlelo

Fakela amapulagi

  • Adobe PDF Plug-In For Firefox and Netscape 18.11.20040
  • Google Update
  • The plugin allows you to have a better experience with Microsoft SharePoint
  • The plugin allows you to have a better experience with Microsoft Lync
  • Shockwave Flash 30.0 r0
  • 5.1.50907.0
  • VLC media player Web Plugin

Isisebenziso

  • I-ejenti Engumsebenzisi: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0

Eminye Imininingwane

FredMcD
  • Top 10 Contributor
4185 izisombululo 58410 izimpendulo
Kuphostiwe

Yes, and no. ++++++++++++++++++++++++++++++++++++++++++++++++ The cache can be totally cleared just by removing its folder;

Location of the cache/cache2 folder; Windows: *C:\Users\<user>\AppData\Local\Mozilla\Firefox\Profiles\<profile>\ Mac: ~/Library/Caches/Firefox/Profiles/ Linux: ~/.cache/mozilla/firefox/

Close Firefox. Open your file browser to the above, and remove the folder. ++++++++++++++++++++++++++++++++++++++++++++++++++ The about:config can be 'reset' just by deleting that file from your profile.

Type about:support<enter> in the address bar.

Under the page logo on the left side, you will see Application Basics. Under this find Profile Folder. To its right press the button Show Folder. This will open your file browser to the current Firefox profile. Now Close Firefox.

Locate the above file. Then rename or delete it. Restart Firefox.


Once you know where those files are located, you can create a Windows batch program that will remove these for you. Note: The browser Must Be Closed.

Yes, and no. ++++++++++++++++++++++++++++++++++++++++++++++++ The cache can be totally cleared just by removing its folder; '''Location of the cache/cache2 folder;''' '''Windows: ''' *C:\Users\<user>\AppData\Local\Mozilla\Firefox\Profiles\<profile>\ '''Mac: ''' ~/Library/Caches/Firefox/Profiles/ '''Linux: ''' ~/.cache/mozilla/firefox/ '''Close Firefox. ''' Open your file browser to the above, and remove the '''folder. ''' ++++++++++++++++++++++++++++++++++++++++++++++++++ The about:config can be 'reset' just by deleting that file from your profile. Type '''about:support'''<enter> in the address bar. Under the page logo on the left side, you will see '''Application Basics. ''' Under this find '''Profile Folder. ''' To its right press the button '''Show Folder. ''' This will open your file browser to the current Firefox profile. Now '''Close Firefox. ''' Locate the above file. Then rename or delete it. Restart Firefox. ---------------------------- Once you know where those files are located, you can create a Windows batch program that will remove these for you. '''Note: The browser Must Be Closed.'''
cor-el
  • Top 10 Contributor
  • Moderator
17334 izisombululo 156710 izimpendulo
Kuphostiwe

For prefs that are modified and show user set (bold) you need the prefs.js file in the main profile folder.

Note that you can find buttons on the about:profiles page to go to both locations Firefox uses for the Firefox profile folder.

Location used for the main profile that keeps your personal data in "AppData\Roaming" (Root Directory on about:profiles).

  • C:\Users\<user>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile>\
  • ~/Library/Application Support/Firefox/Profiles/<profile>/

Location used for the disk cache and other temporary files in "AppData\Local" (Local Directory on about:profiles).

  • C:\Users\<user>\AppData\Local\Mozilla\Firefox\Profiles\<profile>\
  • ~/Library/Caches/Firefox/Profiles/
For prefs that are modified and show user set (bold) you need the prefs.js file in the main profile folder. Note that you can find buttons on the <b>about:profiles</b> page to go to both locations Firefox uses for the Firefox profile folder. Location used for the main profile that keeps your personal data in "AppData\Roaming" (Root Directory on about:profiles). *C:\Users\&lt;user&gt;\AppData\Roaming\Mozilla\Firefox\Profiles\&lt;profile&gt;\ *~/Library/Application Support/Firefox/Profiles/&lt;profile&gt;/ Location used for the disk cache and other temporary files in "AppData\Local" (Local Directory on about:profiles). *C:\Users\&lt;user&gt;\AppData\Local\Mozilla\Firefox\Profiles\&lt;profile&gt;\ *~/Library/Caches/Firefox/Profiles/