-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chrome/Edge does not restore tabs if ran out of Sandbox before #558
Comments
I installed Chrome a month ago (using the official online installer, in a clean Windows 10 install) and my user profile was located in the default folder. |
I have crean Chrome profile outside of Sandboxie. Then I have multiple sandboxes to run the chrome. Every time I start Chrome outside of sandbox, I have issues with lost session in sandboxed chrome. How should I fix it? |
I've already reported something similar in issue #370... no fix at the moment. |
I think the proper solution to this behavior is to set the chrome profile folder as a WriteFilePath (https://sandboxie-plus.com/sandboxie/writefilepath/) |
It makes sense, but are you sure there isn't another way? If it becomes the new default approach, it would require many changes in the browser part of templates.ini. |
Sorry but this idea is not even close. I want to have clean Chrome profile as default, then configure each Sandboxed Chrome instance completely differently. |
I ran into the same problem. |
Huh? Sandboxie behaved exactly like expected. Of course it doesn't take into account any changes you did to your session outside the sandbox. |
Thank you for pointing out what should be done correctly.
Note: Chrome can be replaced by Brave. It works fine when running Chrome in the sandbox, if we don’t perform step 6 above, the session will be saved correctly in the sandbox. |
I'm experiencing the exact same problem as described by @koliu. Do any of you have any suggestions? I'm new to Sandboxie, so I don't really understand what's going on. I thought it might help if I go to Sandbox Settings >> Resource Access >> File Access and block access to the Chrome folder, but that just made things worse. Write-Only Access seems to work, but extensions and Chrome Apps get uninstalled on startup. What is the solution for this problem? Would really appreciate it if someone could help me out. Cheers! |
|
Got it. Here's how I fixed it:
|
Can you elaborate step by step, please? Outside of sandbox I have clean profile without any extensions. I have multiple sandboxes with various configuration |
Both my sandbox and my outside chrome sandbox have similar configurations. I cloned the outside sandbox chrome into the sandbox. I deleted the default user and added a new user with similar configurations (inside the sandbox). That made sure that the tabs were restored properly. |
Does your solution work with multiple sandboxes with various configurations? |
Yup 👍 |
Thanks. However I decided to uninstall Chrome anyway |
This happens with MS Edge as well... Since we are not able to sign into Edge, it is quite severe |
Chrome/Edge saves session files with a timestamp at the end. When you restart the browser, it loads the newest session files which are created outside of the sandbox. Example:
Try these rules: Edge: Chrome: EDIT:From :
|
You don't seem to understand the issue. Also, the issue affects only one sandbox, not all of them. If we want to fix it, we need blacklist paths, not whitelist them |
WriteFilePath doesn't allow write access outside of the sandbox. It hides host/real files and folders from sandboxed programs but allows creation inside the sandbox. In your terms: WriteFilePath = Blacklist/Ignore OpenFilePath = Whitelist/Write access |
Thank you. I will test it and let you know. Works perfectly, thanks! To fix profiles issues in and outside of the box, I suggest to run Edge with default profile and delete all profiles |
Hi,
Since Chrome introduced changes in user profiles, Sandboxed Chrome has issues with restoring tabs from previous session.
How to reproduce:
Chrome used to store user profile in C:\Users<username>\AppData\Local\Google\Chrome\User Data\Default
For over 6 months it stores it in C:\Users<username>\AppData\Local\Google\Chrome\User Data\Profile 1
The text was updated successfully, but these errors were encountered: