Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local background files don't load in Firefox private browsing #559

Open
PavelDobCZ23 opened this issue Feb 9, 2025 · 4 comments
Open

Local background files don't load in Firefox private browsing #559

PavelDobCZ23 opened this issue Feb 9, 2025 · 4 comments

Comments

@PavelDobCZ23
Copy link

Describe the bug
Opening a new tab in private browsing on Firefox doesn't load background images from local files.

To Reproduce

  1. Install the extension to Firefox and allow it to run in private browsing
  2. Set Background type to Local file
  3. Add a few background images
  4. Open a new tab inside of private browsing
  5. Pay attention to the background

Expected behavior
The backgrounds from local files should load and appear.

Screenshots
Preview of normal browser window:
Image
Preview of private browser window:
Image

Device (please complete the following information):

  • OS: Fedora Linux 41
  • Browser: Firefox 135.0
  • Version: 20.4.2
@victrme
Copy link
Owner

victrme commented Feb 10, 2025

Hi @PavelDobCZ23,

We're using indexedDB to store our local backgrounds. Because of privacy reasons, normal and private browsing have different databases and cannot communicate...

I'll find a way to have local backgrounds in private browsing, but for now I have no idea 🤔

@PavelDobCZ23
Copy link
Author

I've used Tabliss before hopping over to Bonjourr and the developer was able to figure this out, you may wanna take a look at their solution and take some inspiration.

@PavelDobCZ23
Copy link
Author

Although it seems they don't use IndexedDB but some other method to store the images.

@victrme
Copy link
Owner

victrme commented Feb 11, 2025

I'm wondering how he's doing it on Tabliss 🤔

On one hand there is no indexedDB database on the page, on the other hand its storage solution only mentions indexedDB. There might be some React magic.

It might be possible to save the backgrounds on the extension service worker, which can be shared between normal & private browsing !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Not planned
Development

No branches or pull requests

2 participants