{"action":"opened","issue":{"url":"https://api.github.com/repos/EFForg/https-everywhere/issues/4034","labels_url":"https://api.github.com/repos/EFForg/https-everywhere/issues/4034/labels{/name}","comments_url":"https://api.github.com/repos/EFForg/https-everywhere/issues/4034/comments","events_url":"https://api.github.com/repos/EFForg/https-everywhere/issues/4034/events","html_url":"https://github.com/EFForg/https-everywhere/issues/4034","id":129953302,"number":4034,"title":"Settings not synced with/across Chrome incognito sessions","user":{"login":"TheRyuu","id":926704,"avatar_url":"https://avatars.githubusercontent.com/u/926704?v=3","gravatar_id":"","url":"https://api.github.com/users/TheRyuu","html_url":"https://github.com/TheRyuu","followers_url":"https://api.github.com/users/TheRyuu/followers","following_url":"https://api.github.com/users/TheRyuu/following{/other_user}","gists_url":"https://api.github.com/users/TheRyuu/gists{/gist_id}","starred_url":"https://api.github.com/users/TheRyuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheRyuu/subscriptions","organizations_url":"https://api.github.com/users/TheRyuu/orgs","repos_url":"https://api.github.com/users/TheRyuu/repos","events_url":"https://api.github.com/users/TheRyuu/events{/privacy}","received_events_url":"https://api.github.com/users/TheRyuu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-30T07:31:41Z","updated_at":"2016-01-30T07:31:41Z","closed_at":null,"body":"Since the move to using split mode[1] for incognito windows/sessions the settings are not saved for use across different incognito sessions.  They're also not synced properly with the non-incognito extension process as you would expect it to.  This behavior isn't what you really expect from an extension even if it's using split mode.  The settings should still be synced between them and across sessions.  uBlock Origin[2] behaves this way and keeps settings synced between them.\r\n\r\nTo test what I'm describing:\r\n\r\n1. Make sure all chrome processes are closed before starting.\r\n2. Start chrome with the incognito command (i.e. \"chrome.exe --incognito\").\r\n3. Browse to any site which has a rule and change this rule\r\n4. Close chrome and ensure all processes end.\r\n5. Start Chrome again in incognito mode as in step 2.\r\n6. Browse to the same site as in step 3 and check the rules.  It will revert to the defaults.\r\n\r\nYou can also change various rules in normal (non-incognito) mode then browse to those same sites in incognito mode and see the settings for the rules are not the same.  The incognito window will be using whatever the default rules are.\r\n\r\nThere are two possible ways to fix this.  Obviously you could remove the split mode (is it even necessary anymore?) so that it only runs one extension process.  This fixes all problems described above and is the easiest fix provided it would not have security implications.  However if you do want to keep using split mode you'll have to sync the settings between them somehow (e.g. how uBlock Origin does it).\r\n\r\n[1] https://developer.chrome.com/extensions/manifest/incognito\r\n[2] https://github.com/gorhill/uBlock"}}