![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
Why is firefox (Win) both at home and office when opened, is starting with previously closed windows even when firefox is properly shut?
After properly closing the firefox, only in the last few months, Im seeing this problem of opening with previously closed windows when tried to open the browser again.
As you know, this is a serious error. This will reveal the websites surfed by the previous user.
Or even if the same user is browsing, it will showoff the previously browsed content in front of others, imagine a case, if the user needs privacy of the previously browsed content!
Krejt Përgjigjet (1)
You can check if you have an user.js file in the Firefox profile folder that sets the browser.sessionstore.resume_session_once pref to true.
You can use this button to go to the Firefox profile folder:
- Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
The user.js file is only present if you or other software has created it, so normally it wouldn't be there. you can check its content with a plain text editor if you didn't create this file yourself.
The user.js file is read each time you start Firefox and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.