sonia3994 / switchy

Automatically exported from code.google.com/p/switchy
0 stars 0 forks source link

Deleting Browsing History Deletes Preferences #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Enter Switchy Proxy Settings
2. Delete Browser History via chrome://history
3. Restart Browser

What is the expected output?

I would have expected Switchy Proxy settings to still be present.

What do you see instead?

All Switchy Proxy settings have been deleted.

Switchy version: 1.1.0
Browser version: 4.0.239.30
Operating system: Windows Vista x32

Error Log (copy it from Options page):

[11:32:31] [info] - Browser Info: 5.0 (Windows; U; Windows NT 6.0; en-US) 
AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.30 Safari/532.5
[11:32:32] [success] - Plugin loaded successfully..
[11:32:32] [success] - Plugin working properly..
[11:32:32] [success] - 'localStorage' supported..
[11:32:32] [success] - Wrote to local storage successfully..

NOTE: This may be the expected result from deleting Browser history, I just 
didn't expect deleting history would result in removing my settings!  Could 
the settings be stored in a bookmark somehow? This would mean the settings 
were synced across multiple machines using the sync bookmarks settings...

Original issue reported on code.google.com by andy.mcc...@gmail.com on 11 Dec 2009 at 11:39

GoogleCodeExporter commented 8 years ago
Thank you for filing this issue, actually this's a bug in Chrome itself, 
because it 
deletes 'localStorage', which is used to store options, if you delete browser 
history.
Anyway, your idea about storing options in a bookmark is really interesting, 
but it 
seems a bit odd to use bookmarks for storage. although I may add this as an 
option in 
Options page.

Original comment by Mohamma...@gmail.com on 11 Dec 2009 at 2:52

GoogleCodeExporter commented 8 years ago

Original comment by Mohamma...@gmail.com on 17 Dec 2009 at 11:13

GoogleCodeExporter commented 8 years ago
Is Switchy using a cookie? I would be ok with setting an exception for the 
Switchy 
cookie, to tell Chrome to leave my Switchy options alone. When I browse the 
cookies 
currently in Chrome, I see several that have a random string name, with a path 
of 
'Local Storage' -> 'chrome-extension://[random string name]', but I can't 
readily 
tell which of my extensions is which.

I tried adding a cookie exception for 'chrome-extension://', but Chrome won't 
let me 
hit the [OK] button with just that in the 'Host:' field.

Do you know of any way to detect which cookie relates to which extension, or to 
set a 
global exception for extensions?

Original comment by bcd...@gmail.com on 22 Mar 2010 at 5:35

Attachments:

GoogleCodeExporter commented 8 years ago
This issue should be fixed now (see 
http://code.google.com/p/chromium/issues/detail?
id=33019).
I'll mark it as fixed.
Thank you.

Original comment by Mohamma...@gmail.com on 11 May 2010 at 8:31