There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Access to the cache content with the Flatpaked Firefox on Linux

Is there any difference in cache files for Flatpaked Firefox and the normal one?

I have been using FanFicFare application for downloading Fanfiction stories as EPub from the main fanfiction websites. It works just fine for most of them, but there are now terrible problems with the biggest of them all, fanfiction.net, which is behind Cloudflare and generally inaccessible to scripts.

Therefore functionality has been added to script which with appropriate flags (-o use_browser_cache=true -o use_browser_cache_only=true) and when correctly configured it can “download” HTML pages from the Firefox (or Chrome) cache instead and stitch them together into EPub same as if the pages were downloaded from the Internet.

It all works perfectly fine with Firefox as packaged by major distributions (openSUSE in my case), but it doesn’t work with Firefox installed from Flatpak. Is there any difference between the storage of cache in Flatpak Firefox? Is there some kind of access protection to its caches?

igorlogius ,
@igorlogius@lemmy.world avatar

AFAIK, the default firefox flatpak configuration has the cache path in ~/.var/app/org.mozilla.firefox if it is a user install, which is mounted/passed into the running container instance.

You can change the cache path in about:config via browser.cache.disk.parent_directory and if you want to use a path outside of the flatpak container, you can use flatseal to create a filesystem overwrite.

Hope these infos help.

mcepl OP ,
@mcepl@lemmy.world avatar

It turned out to be a lot more complicated github.com/JimmXinu/FanFicFare/issues/985 and not at all a Flatpak fault.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines