darkreader / darkreader/darkreader

[Bug] Dark reader ignores "Not invert listed" list unless the page is refreshed if it was opened by another tab (or window?)

Open
#7,115 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
22.4k
Forks
2.7k
Avg merge
21h 11m
Merged PRs (30d)
78

Description

# Bug Report

## Bug Description

When a tab opens a link in another tab (or window?) that is in the "Not invert listed" list, Dark Reader will still invert it, but refreshing seems to fix the issue.

## Website Address

## Steps To Reproduce

Install a website as an app by going to that website, pressing the three dots on the top right, go to More Tools > Create Shortcut, and ticking "Open as window".
Then, try to find a link in that website that links to another website or domain. Copy its link and add it to Dark Reader's "Not invert listed". Open the link now, and notice that it is still inverted by Dark Reader.

## Expected Behavior

I expected that Dark Reader won't invert the site.

## Actual Behavior

Dark Reader ignored the "Not invert listed" list.

## Screenshots

Sorry, N/A

## System Information

- OS: Windows 10 21H1 Build 19043.1266
- Browser: Google Chrome Version 94.0.4606.81 (Official Build) (64-bit)
- Dark Reader Version: 4.9.39

## Additional Context

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.