If you are using Firefox's built-in pdf reader pdf.js, you may have noticed that the application remembers custom settings of each pdf document that you have opened in it.
While there are no controls to change default settings for all future documents, for instance by changing the default zoom mode, it is possible to define custom settings for pdf files individually using the reader.
Firefox will remember quite a few things: the zoom level and the last position in the document before it was closed are two noteworthy preferences.
You are probably wondering how this is done. The browser creates a unique fingerprint of pdf documents that are opened in PDF.js and stores them in the database. Custom information are then added to the document as well and updated when the need arises.
When you open a document in the reader, Firefox will check whether it is a known document. If it is, it will use the information that were saved in an earlier session.
It is not possible to determine the name of the pdf document based on its fingerprint, at least not directly and without knowing additional information about how it is computed.
Some users may however want to reset the information for individual pdf documents, or for all of them from time to time.
Here is how that is done:
To reset all custom pdf configurations
To reset individual documents
Please note: Since you cannot match a fingerprint to a particular PDF document, it may not be feasible to try and delete individual configurations only.
There is unfortunately no easier option to clear the information right now. Clearing the cache or other browsing data does not seem to delete the information in the pdfjs.database file.Advertisement
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.