Notices


Reply
Thread Tools
DA5's Avatar
Posts: 70 | Thanked: 338 times | Joined on Jan 2013
#1
I'm posting this in case anyone else would find simple cookie management in microb useful. It probably works with Fennec as well, but I haven't tried it yet.

I was disappointed that no cookie management was included with the default N900 browser so I tried installing the CookieCuller extension and found the list only showed two cookies at a time making it a pain to use.

Name:  Screenshot-20130321-083519.jpg
Views: 751
Size:  21.9 KB

I modified the CookieCuller.xul file (inside cookieculler.jar) to make better use of the N900 screen space. After the modification more cookies are visible and it's now usuable (could still use a search function though ).

Name:  Screenshot-20130321-083559.jpg
Views: 685
Size:  20.7 KB

To install:

Go to https://addons.mozilla.org/en-US/fir.../cookieculler/ with microb, and install the add-on.

Download the attached cookieculler.jar.tar.gz to your N900, extract it, and overwrite the original cookieculler.jar located in /home/user/microb/extensions/{99B98C2C-7274-45a3-A640-D9DF1A1C8460}/chrome/.

Code:
cp ./cookieculler.jar /home/user/microb/extensions/\{99B98C2C-7274-45a3-A640-D9DF1A1C8460\}/chrome/
Create a bookmark to chrome://cookieculler/content/CookierCuller.xul, this is where you'll access your cookies.

Restart microb then load the bookmark and now you can manage your cookies in microb (and also have the extra features of CookieCuller).

Note: I have no affiliation with the author of CookieCuller (Dan Yamaoka)-this is just a simple mod to it. The other attached file is a diff of the original and the modified CookierCuller.xul.
Attached Files
File Type: gz cookieculler.jar.tar.gz (24.0 KB, 92 views)
File Type: gz CookieCullerN.diff.tar.gz (989 Bytes, 88 views)

Last edited by DA5; 2013-03-21 at 14:37. Reason: fix screenshots
 

The Following 6 Users Say Thank You to DA5 For This Useful Post:
DA5's Avatar
Posts: 70 | Thanked: 338 times | Joined on Jan 2013
#2
I've now tried it on Fennec. The modification isn't as necessary on there, but it still helps as the scrollbar doesn't show up. The problem is the install.rdf file needs to be modified so it will install on Fennec in the first place. Here's how I installed it if any Fennec users might find it useful.

Name:  Screenshot-20130323-063442.jpg
Views: 265
Size:  22.4 KB

The following can be added to install.rdf inside the .xpi to make it installable (borrowed&modified from noscript's install.rdf).

Code:
    <!-- Fennec -->
    <em:targetApplication> 
      <Description>
        <em:id>{a23983c0-fd0e-11dc-95ff-0800200c9a66}</em:id>
        <em:minVersion>1.0</em:minVersion>
        <em:maxVersion>20.0a1pre</em:maxVersion>
      </Description>
    </em:targetApplication>
Afer updating the install.rdf inside the xpi it can be installed by loading a local html file containing a link to the xpi file. For me it was:

Code:
<a href="file:///home/user/MyDocs/Documents/addon-82-latest.xpi">install cookieculler</a>
Once installed it's obvious it doesn't work as smoothly on Fennec but at least it works. The option to delete unprotected cookies automatically can't be set through prefs (adding the boolean extensions.cookieculler_options.delUnprotAtStartup , true in about config works) and every other cookie in the list as blacked out unless it's highlighted.

Name:  Screenshot-20130323-070442.jpg
Views: 280
Size:  21.3 KB

As for adding the mod-that's a bit more tricky, now the jar must be updated inside the {99B98C2C-7274-45a3-A640-D9DF1A1C8460}.xpi file in the Fennec extensions directory. Here's how the modded version looks:

Name:  Screenshot-20130323-081751.jpg
Views: 264
Size:  21.2 KB

It doesn't look pretty but it does still manage cookies and the extra cookieculler functionality works.
 

The Following 3 Users Say Thank You to DA5 For This Useful Post:
Reply

Tags
cookies, modifications, privacy, tinfoil hat, tracking


 
Forum Jump


All times are GMT. The time now is 13:41.