Is it possible using a program running on the OS to add a cookie to the chromium browsers?

31 views
Skip to first unread message

D Graham

unread,
Jul 21, 2016, 1:16:15 AM7/21/16
to Chromium-discuss
Is it possible using a program running on the OS to add a cookie to the chromium browsers?

PhistucK

unread,
Jul 21, 2016, 2:49:55 AM7/21/16
to dggr...@email.wm.edu, Chromium-discuss
By using extensions and native messaging, you can add a cookie, yes.
Without using extensions - while it is technically possible by tampering with the cookie database files - it is not recommended as the schema can change at any release.



PhistucK

On Thu, Jul 21, 2016 at 1:32 AM, D Graham <dggr...@email.wm.edu> wrote:
Is it possible using a program running on the OS to add a cookie to the chromium browsers?

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.

D Graham

unread,
Jul 25, 2016, 3:37:48 PM7/25/16
to PhistucK, Chromium-discuss
Thanks for the prompt response Patrick. 

Do you know where this database file is located? Is it a plain text file?

Are there API calls that I could make to set the cookie 

Sincerely, 
Daniel Graham

PhistucK

unread,
Jul 25, 2016, 4:11:21 PM7/25/16
to D Graham, Chromium-discuss
Only extension API calls.

It is not a plain text file.

Search for it in your user profile directory. Go to about:version, there is section with the path to that directory.
Again - this is strongly discouraged, can break at any time and can corrupt the cookies (and so will be probably clear them) of that profile.


PhistucK

D Graham

unread,
Jul 25, 2016, 6:05:16 PM7/25/16
to PhistucK, Chromium-discuss
Thanks Phistuck.

This was really helpful.
Reply all
Reply to author
Forward
0 new messages