Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Any way how to create/delete opera cookie from an external application?

26 views
Skip to first unread message

Tom

unread,
Nov 4, 2008, 8:52:20 AM11/4/08
to
Hi all,

I need to detect from the web pages that my application is installed at the
user's computer. I know it's impossible to do that in a general way - get a list
of installed programs (that's a security issue) from web page. But I hoped in
creating a cookie/protocol handler and detect that from web.

Do you know - is there any way - how to:
- create/delete opera cookie from an external application ?
(it's possible to do it for IE)
- detect that my own protocol handler (eg. myproto://) is registered at user's
machine ?

If you have any other solitions/ideas I will really appreciate it.

Many thanks,

Tom

Rijk van Geijtenbeek

unread,
Nov 4, 2008, 3:25:06 PM11/4/08
to
Op Tue, 04 Nov 2008 14:52:20 +0100 schreef Tom <bur...@cadwork.cz>:

> Hi all,
>
> I need to detect from the web pages that my application is installed at
> the user's computer. I know it's impossible to do that in a general way
> - get a list of installed programs (that's a security issue) from web
> page. But I hoped in creating a cookie/protocol handler and detect that
> from web.
>
> Do you know - is there any way - how to:
> - create/delete opera cookie from an external application ?
> (it's possible to do it for IE)

That might be possible - Opera's cookies are stored in the file
cookies.dat, and other applications might edit that file. See
http://www.opera.com/docs/fileformats/ for slightly outdated info on the
format.

But that is only useful if done while Opera isn't running, and you have to
find the Opera profile directory from your other application.

> - detect that my own protocol handler (eg. myproto://) is registered at
> user's machine ?

I wouldn't know how to do that.

> If you have any other solitions/ideas I will really appreciate it.

You could write a Java applet that does the job. Secunia uses a Java
applet to scan your machine on the occurance of all kinds of software, to
check if the latest version is installed:
http://secunia.com/vulnerability_scanning/online/

People get a warning when the Java applet starts because it requests
system access.

--
Rijk van Geijtenbeek
Opera Software ASA, Documentation & QA
Tweak: http://my.opera.com/Rijk/blog/

"The most common way to get usability wrong is to listen to what users
say rather than actually watching what they do." - J.Nielsen

Tom

unread,
Nov 5, 2008, 8:47:58 AM11/5/08
to
Hi Rijk,

many thanks for your answer. The link to the Opera cookies format is
very useful for me. It seems parsing opera cookies in my own way
will be the final way I will go on...

And your idea of Java applet sounds good as well.

Thank you!

Regards,

Tom

Rijk van Geijtenbeek napsal(a):

0 new messages