Giter Site home page Giter Site logo

Flash about nighttab HOT 9 CLOSED

zombiefox avatar zombiefox commented on July 29, 2024 1
Flash

from nighttab.

Comments (9)

Q-out avatar Q-out commented on July 29, 2024 1

Is the current solution live on the demo (https://zombiefox.github.io/nightTab/)? I still see the flash on both Chrome and FF on there.

I have the aforementioned userchrome.css overrides on FF and I don't usually get white flashes, as you can see here. I also have a Dark Reader extension for a full dark experience. (I should have disabled that for the video, but even without it I don't get white flashes)

I get the White Flash on the extension, the demo, as well as local file, all on FF.
With the Dark Reader extension I mentioned the flash is no longer white, but unfortunately, only when loading from the demo or locally, because the extension can't act on protected pages, like ones from another extension.

from nighttab.

zombieFox avatar zombieFox commented on July 29, 2024 1

Whoa, thanks for all the extra information. I'll do some tests with each of those Add Ons. 👍

from nighttab.

Q-out avatar Q-out commented on July 29, 2024 1

Now instead of flashing white, it flashes with the theme background color or the custom background color that you set in the background settings. That works out wonderfully!

from nighttab.

zombieFox avatar zombieFox commented on July 29, 2024

Hi, thanks for the details and the video.

The issue is not really "Done", when the previous ticket was closed it was automatically moved to the "Done" column.

I'm been researching ways to tackle the white flash. Some of the solutions are in the repo but not released to the Chrome/Firefox extensions yet. I release once I have a stable tested build. Which is not ready yet.

The current solution, (found in the index file) works in Chrome but not Firefox. The more I research into it the more I think it may not be possible to prevent the white flash in Firefox without adding custom userChrome.css overrides. But watch this space. I'll keep researching to find a better solution.

from nighttab.

Q-out avatar Q-out commented on July 29, 2024

Unfortunately white flash is back on FF (v68 on Win10) with the latest release 3.69.0 (Extension). It started happening again as soon as I updated from 3.61.3 and nothing else has changed.

from nighttab.

sheldonhull avatar sheldonhull commented on July 29, 2024

The white flash is a long term known issue with Chrome btw. If you find a solution, let me know, but otherwise I wouldn't make this specific to the extension, as I think it's a known issue with Chrome that not many solutions have proven dependable to fix.

from nighttab.

Q-out avatar Q-out commented on July 29, 2024

In some ways, it is specific to the extension. One reason is that I don't see white flash on https://zombiefox.github.io/nightTab/ because it's still on 3.61.0. Another is that there are fixes for the white flash but they don't normally work with extension pages because they're protected pages.

For Chrome & FF there's DarkReader extensions that remove it. For Chrome there's also WhiteSlash if you don't want full dark pages (afaik, since I don't use Chrome).

For FF, there's fixes using userchrome.css. Shadowfox includes all of them so you'll likely never see a white flash with it on.

None of these work properly on Extension pages though. zombieFox added something in v3.61.x which fixed the white flash issue (at least on FF w/ extension, I didn't check Chrome) but the thing's back with v3.69.0. Also I can't seem to load 3.69.0 as local file so I can't check that.

from nighttab.

Munkenmo avatar Munkenmo commented on July 29, 2024

In firefox I've worked around this by adding the following setting to about:config

ui.systemUsesDarkTheme

and set it to 1 (Number, 0 is disabled)

It works for me as I do actually use a dark theme with my OS, possibly less palatable for someone with a regular theme.

from nighttab.

zombieFox avatar zombieFox commented on July 29, 2024

I feel I've done as much as I can about this. Closing the issue.

from nighttab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.