Re: Remove All Cookies button on toolbar

Unknown <[email protected]>
Newsgroups gmane.comp.mozilla.devel.prefs
Message-ID <[email protected]>
Ok, this may help.

I found out that by making a button with an onclick for viewCookies(),
I can get to the Cookie Manager window and display all cookies.
From there all I need is to press the 'Remove All Cookies" button and
I'm home free.

This is now a two clicks process. Good, but not great.

So if anyone got an idea of whatelse to put to make the whole process
a single click, please let me know.

Actually, let me know if you're even reading this. What if I'm alone
in the forest again and nobody is hearing me?

On Wed, 18 Jun 2003 05:06:08 -0700, Paulo <> wrote:

>Hi, I've been trying to create a new button on 'Preferences Toolbar'
>that woud delete all existing cookies.
>
>I thought that having a onclick for DeleteAllCookies() would do it,
>but that didn't work.
>
>Then I tried invoking the CookieViewer.xul, but that brought me an
>empty cookie table, inside the main prefernces window, instead of the
>popup. Maybe I didn't direct it well.
>
>The closest thing I got was to launch the first cookie window (by
>invoking the pref-cookies.xul), where I can choose to manage cookies
>and then delete them.
>
>Saves me a couple clicks but that ain't good.
>
>Anyone knows what I'm missing here, besides skills? Is there some
>security measure making this option only available from inside the
>Preferences? ( I saw some code about reaching there form an icon and
>it seemed not to like the idea)
>
>Thanks for any input. I've hitting at the all like a blind person, and
>my hands are sore now.
>
>Paulo
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.