Firefox recovery .js files
So I closed my editor and switched off my computer without saving this JS file on the local computer. After I got the Internet again, I opened the file I was editing and got a very unpleasant surprise. Because I had lost Internet access while the file was being saved, a part of the file had not had time to be uploaded to the server and was lost. Because of my inattention, the file was ruined!
Since I mostly use Firefox, I started looking for my file in that browser.
In order to get the information about the cache you need to type in the address bar the following line: about:cache
You will see the following screen:
By the way, I am using Linux. Under Windows maybe the images will look different.
To view all the files in the cache, click on the link “List cache entries” in the section “Disc cache device”. It will open a page with a list of all files:
By the way, here we can see where on your computer you store the cache. This is done by the Cache Directory line.
Then I searched the page and found the file and clicked on it. The next page will open:
All you need to do now is to locate the file and get it out. As you can see from the figure, you can find out by looking at the line file on disk.
As you can see from this picture, the file on disk has a different name. So I took the file from the path on my computer and copied it to the desktop and renamed it with the right file extension.
That is how you can easily get a file from your browser cache. I hope this article will be useful to you and you will not make the same mistake as I did.