top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Access specific cookies by domain/name in Firefox extension private window

+4 votes
278 views

I had developed extension for firefox. In that i used

var cookieManager = Cc["@mozilla.org/cookiemanager;1"] .getService(Ci.nsICookieManager2); 
var count = cookieManager.getCookiesFromHost("example.com");

to read cookie. Noted in Access Specific cookie.

Now i tried same in private window but i can't able to read a single cookie info.

Kindly suggest me to read a cookie info in main.js, private window.

posted Mar 4, 2015 by Arun Kmp

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button
As far as I know cookie would not be accessible in the private window.

Similar Questions
+1 vote

I was rather surprised to find that I could read the passwords stored by Mozilla/Firefox (Preferences=>Security). I always assumed they were encrypted in some way.

Pure ignorance, I guess.

+2 votes

I have started looking into distutils because I need to write an extension module in C (for performance reasons) and distutils seems to be the most straight-forward way.

I have had success building a C file into a Python extension module using "python setup.py build" but I am wondering what the recommended way for using that module during development is. While writing Python code I am used to just run the code from the source directory. But the built extension modules .so of course does not just end up on sys.path magically.

So how do I run my code so it will find the built extension module? Do I pass the output directory on the command line manually or is there some other solution? I would like to still be able to run the code from the source directory as I am using PyCharm to edit and debug the code.

0 votes

Hi,

In my application, we are using material design with a lot of gradients effects. It's working in windows firefox whereas in centos firefox not working properly. Any suggestion, please ?

+2 votes

What is the shortcut key for making Firefox not covering the Panel Bar at bottom ?

...