MozillaZine

[Ext] Cookie Controller, now with DOM storage

Announce and Discuss the Latest Theme and Extension Releases.
LoveMyFoxy

User avatar
 
Posts: 2169
Joined: December 11th, 2009, 11:23 am
Location: USA

Post Posted April 5th, 2013, 1:49 pm

lithopsian wrote:
I don't restore sessions, don't even know how.

You don't have to. Firefox will do it for you in all sorts of situations. Usually though you'll see a web page loaded when you start, so perhaps not that. Still, if truly deleted cookies come back without you even visiting the page then you have some major issues. I'd keep digging because that's not right.


I just removed about 10 of those re-occurring cookies. I have no idea how to fix it, so it's just one of those little annoyances of life. I'll let the programmers dig.
2 Desktops--Win 7 Ult. 64-bit, 6GB RAM /FF 52ESR 64/ Thunderbird 52 / MS Sec. Essent./ Windows firewall / Verizon FIOS wired network

lithopsian
 
Posts: 3664
Joined: September 15th, 2010, 9:03 am

Post Posted May 5th, 2013, 1:50 pm

v2.1 is coming out, and a few lucky users have already tried the beta version:

It has artificial intelligence! Well at least a little tweak so the exception type added by pressing the perm button is picked from "accept", "accept as a first party only" and "accept for the session only", based on the type of exception you set most often. The tooltip and context menu will tell you which exception is going to be set, but hopefully it will soon settle down to setting the one you want most of the time. Removing exceptions, and setting the block exception (when the default permission is to accept cookies) are unchanged.

There is also a little hint to a feature that has been around for a long time. Some of the submenus can be kept open when you activate an item, for example the cookie browsing submenus. Now there is a small icon and a tooltip to tell you about it. Clicking the menu itself will hold it open until it is clicked again, and the pin icon will indicate when this is done, or you can just hold down the Ctrl key if you want the menu to stay open when you click an item.

The site automatically selected when the about:permissions dialog is open now better reflects the page you are on and the preferences you have set. It can still be confusing, but that is the nature of a page that mangles visited page domains and all sorts of different sorts of permissions into one dialog, without any indication that the permission type may not be for the same domain.

Diamanti
 
Posts: 701
Joined: June 12th, 2008, 9:02 am

Post Posted May 5th, 2013, 11:37 pm

I'm missing function to temporarly refuse cookie and withdrawal of all temporary permits as in cookie monster.

LoveMyFoxy

User avatar
 
Posts: 2169
Joined: December 11th, 2009, 11:23 am
Location: USA

Post Posted May 6th, 2013, 8:58 am

I still have the recurring cookies, despite settings for "session-only." I have to keep culling them manually several times a day.

When I use the "cookies exceptions" list and choose a button, the sites don't appear in the list

So---This add-on is not working for me.
2 Desktops--Win 7 Ult. 64-bit, 6GB RAM /FF 52ESR 64/ Thunderbird 52 / MS Sec. Essent./ Windows firewall / Verizon FIOS wired network

lithopsian
 
Posts: 3664
Joined: September 15th, 2010, 9:03 am

Post Posted May 7th, 2013, 11:57 am

Diamanti wrote:I'm missing function to temporarly refuse cookie and withdrawal of all temporary permits as in cookie monster.

Why would I write an addon to do what Cookie Monster does? There is already Cookie Monster.

lithopsian
 
Posts: 3664
Joined: September 15th, 2010, 9:03 am

Post Posted May 7th, 2013, 12:01 pm

LoveMyFoxy wrote:I still have the recurring cookies, despite settings for "session-only." I have to keep culling them manually several times a day.

When I use the "cookies exceptions" list and choose a button, the sites don't appear in the list

So---This add-on is not working for me.

Session only won't stop cookies being set. It just deletes them at the end of the session.

Uninstall the addon and test, because this issue has nothing to do with the addon.

Block all cookies and see if they come back. That would really narrow down the possibilities.

Then post some screen shots because I have no clue what your settings are, what these cookies are, or where they're coming from.

lithopsian
 
Posts: 3664
Joined: September 15th, 2010, 9:03 am

Post Posted May 8th, 2013, 7:25 am

Some addons create cookies every time Firefox starts. These are not subject to the normal cookie permissions and there is nothing you can do to stop them being created, except uninstall those addons.

lithopsian
 
Posts: 3664
Joined: September 15th, 2010, 9:03 am

Post Posted May 17th, 2013, 11:43 am

When upgrading to Firefox 22, or higher from any lower version, your cookie permissions may change unexpectedly. This is due to Firefox changing the default permissions from accept all cookies to accept cookies only from site you've visited. This will affect people who currently have the default cookie settings, and your permissions will change. There may be rare situations where this causes a site to no longer function properly, if it relies on third party cookies but you haven't previously set any cookies from the third party.

This will happen whether or not Cookie Controller is installed. If you have Cookie Controller set to force and on or off state at startup then you won't be affected, because Cookie Controller will set the permissions you have configured. If you are going with the flow and accepting whatever permissions were set previously, *and* those permissions were the default (allow all cookies) then those permissions will change to the new default (allow cookies only from visited sites) when you upgrade to FF22. Other than that Cookie Controller will continue to work, with complete support for the new permissions type, and you can continue to switch your global cookie permissions at any time using the toggle button.

Diamanti
 
Posts: 701
Joined: June 12th, 2008, 9:02 am

Post Posted July 29th, 2013, 9:27 am

Why do I get a series of errors like this?
Timestamp: 29/07/2013 18.23.56
Error: [Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://cookiecontroller/content/cookieController.jsm :: cookieControllerModule.trackStorage :: line 259" data: no]
Source File: chrome://cookiecontroller/content/cookieController.jsm
Line: 259

lithopsian
 
Posts: 3664
Joined: September 15th, 2010, 9:03 am

Post Posted July 30th, 2013, 12:21 pm

Hi Diamanti,

There is a bug starting in Firefox 23 that causes this error. This means that DOM storage item counts will not be updated dynamically while you are on a particular page, although they should be correct when you navigate to a page. Even switching to a different tab and back will reset the storage item counts,

I notice that your tag line says Firefox 22. Is that true? Do you get this error in Firefox 22?

Strangely, Firefox 24 doesn't have this error and Cookie Controller works again (as of Aurora 24a2). I'm waiting to see if the bug will be fixed for 23 release, and if not whether there is some workaround that I can put in.

Firefox bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=898874

lithopsian
 
Posts: 3664
Joined: September 15th, 2010, 9:03 am

Post Posted July 31st, 2013, 3:20 am

I've uploaded 2.5 with a workaround for this issue. Expect it to take about 3 weeks to be reviewed, but meanwhile it is available from the versions page if anyone really needs it. Only Firefox 23 should be affected.

Edit: approved already! That shows me, not that I'm complaining ;)

Diamanti
 
Posts: 701
Joined: June 12th, 2008, 9:02 am

Post Posted July 31st, 2013, 10:23 am

errors disappeared, ty. FF23b

lithopsian
 
Posts: 3664
Joined: September 15th, 2010, 9:03 am

Post Posted July 31st, 2013, 1:12 pm

Diamanti wrote:errors disappeared, ty. FF23b

Thanks for the feedback. I've "fixed" things before, only to find out weeks later that loads of people were still getting the error :lol:

Diamanti
 
Posts: 701
Joined: June 12th, 2008, 9:02 am

Post Posted August 27th, 2013, 9:29 am

Do it is possible to fix this little warning:)
Timestamp: 27/08/2013 18.26.47
Warning: TypeError: anonymous function does not always return a value
Source File: chrome://cookiecontroller/content/cookieController.js
Line: 110

lithopsian
 
Posts: 3664
Joined: September 15th, 2010, 9:03 am

Post Posted August 29th, 2013, 6:24 am

Diamanti wrote:Do it is possible to fix this little warning:)
Timestamp: 27/08/2013 18.26.47
Warning: TypeError: anonymous function does not always return a value
Source File: chrome://cookiecontroller/content/cookieController.js
Line: 110

Of course it is possible, but it isn't likely to happen. The function works perfectly in all regards. The strict javascript interpreter is just being overly picky about trying to protect me from myself. You must have a non-standard preference setting (javascript.options.strict) to see this message.

Return to Extension/Theme Releases


Who is online

Users browsing this forum: BrokenEye, Google [Bot] and 5 guests