Note- These script only useful on Windows Environment. These scripts will execute automatically and clear your previous browsering history and cache every time when you start or restart your machines. C:\Users\%UserName%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup You just need to put these scripts in your Start Program directory on your computer. Here we have supper simple method that you can use to automate this in Windows platform to do your job easy. Now you have these all scripts ready to use when you want just double click on any selected script that you want to use based upon your browser but such repeated task you really do not want to do over and over. Set ChromeDir=C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User DataĪlso save this file as “Chrome_clean.bat” on your local machine. Set DataDir=C:\Users\%USERNAME%\AppData\Local\Mozilla\Firefox\Profilesįor /d %%x in (C:\Users\%USERNAME%\AppData\Roaming\Mozilla\Firefox\Profiles\*) do del /q /s /f %%x\*sqliteĪnd save this file as “ Firfox_clean.bat” on your local machine. (Remove-Item $c_IE\* -Force -Recurse) 2> $nullĪnd save this file as “IE_clean.PS1” on your local machine. RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2
(Remove-Item $t_IE\* -Force -Recurse) 2> $null RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8 RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1 If($temporary_path -eq $True -And $check_cashe -eq $True) The ‘fallback’ is a tool used by your Internet browser to. Clearing a web browser’s cache and cookies is an important initial step for almost any web browsing investigation.
Here move to the Network tab and check the checkbox next to the Disable cache option. Using commands to delete Firefox browser history Clear all Firefox browser history Final remarks: How to Clear Cache on Firefox Check How to Clear Cache on Firefox. You can also open the main menu at the top-right corner and select Developer Tools from the More Tools side menu.
$c_IE = "C:\Users\$env:username\AppData\Local\Microsoft\Windows\Caches" To open Developer Tools, press the F12 key or Ctrl+Shift+I keys on the keyboard. Internet Explorer (Powershell)- $t_IE = "C:\Users\$env:username\AppData\Local\Microsoft\Windows\Temporary Internet Files"
On your computer or laptop, you might need to clear browsing history and cache for IE, Firefox and Chrome, but you do manually most of the time.īut what if you can do this without manual click over and over, I will give you useful tricks that can help you to automate such task in background on your computer/laptop to clear the browsing history and cache for IE, Firefox and Chrome.