Recent

Author Topic: Test Read Firefox Cookies  (Read 726 times)

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 1337
  • Professional amateur ;-P
Test Read Firefox Cookies
« on: March 11, 2025, 10:25:37 pm »
Hey Y'all,

Yet again another entry for my Test Star list of repos: Test Firefox Read Cookies.

Not tested yet under Windows. So if anyone is using Firefox under Windows and wants to test the code, I would deeply appreciate.
It's also in need of fixing those columns with (MEMO) in them. I think The Silver Coder has a video that explains how to show a substring of the thang. Will need to peruse his videos to make sure. If this fails, I'll probably need to alter the SQL or define columns programmatically, or in the designer.

This is all study work for a possible Object Pascal version of yt-dlp. Lets see how far I can get.

I'll probably follow up with the same thing but for Chrome. This will need a bit more attention since from what the bots tell me, Chrome encrypts the SQLite data.
And this means that Windows versions will need dlls to be added to the bloody project  >:( But hey, that's the nature of good ol' Windows...

Cheers,
Gus

dbannon

  • Hero Member
  • *****
  • Posts: 3647
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Test Read Firefox Cookies
« Reply #1 on: March 12, 2025, 04:53:17 am »
Useful work Gus.

The app is interesting in that it needs the sqlite3 dev package installed at run time but not at build time ??

Yet another case of FPC/Lazarus looking for the linking symlink (libsqlite3.so) at run time, sigh....

But strangely, does not need it at link time (when it should be used). Go figger...

Anyway, make that symlink and it runs but all my entries are of the (memo) format you mention. See image. But interesting project indeed !

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

paweld

  • Hero Member
  • *****
  • Posts: 1561
Re: Test Read Firefox Cookies
« Reply #2 on: March 12, 2025, 06:50:31 am »
I checked on Windows and it works. I added a pull request with a few improvements
Best regards / Pozdrawiam
paweld

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 1337
  • Professional amateur ;-P
Re: Test Read Firefox Cookies
« Reply #3 on: March 12, 2025, 03:45:23 pm »
Hey Davo,

Useful work Gus.

Thanks mate, really appreciate it !!

The app is interesting in that it needs the sqlite3 dev package installed at run time but not at build time ??

Yet another case of FPC/Lazarus looking for the linking symlink (libsqlite3.so) at run time, sigh....

But strangely, does not need it at link time (when it should be used). Go figger...

I think that in any Linux environment it's just a question to have the sqlite3 package installed. Not sure we need the sqlite3-dev one, but either or will do.
The problem is always with Windows since we have to include the dll in the same folder as the executable binary.

Anyway, make that symlink and it runs but all my entries are of the (memo) format you mention. See image. But interesting project indeed !

Yeah, I mentioned the (MEMO) issue as something I needed to fix. Then @paweld dropped a PR that fixed that, so you can pull the latest version since I've merged it.
Also tagged v0.0.2, and GitHub is going through the workflow. We'll have that release present in no time.

Cheers,
Gus

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 1337
  • Professional amateur ;-P
Re: Test Read Firefox Cookies
« Reply #4 on: March 12, 2025, 03:46:51 pm »
Hey paweld,

I checked on Windows and it works. I added a pull request with a few improvements

I'm always happy when you dedicate your precious time to improve my small attempts at dubious shit ;)
I cannot thank you enough for your efforts!!

Cheers,
Gus

 

TinyPortal © 2005-2018