darkreader / darkreader

Dark Reader Chrome and Firefox extension
https://darkreader.org/
MIT License
19.5k stars 2.4k forks source link

[BUG] Similar domains being being recognized as the same one #3729

Open carlos-siestrup opened 4 years ago

carlos-siestrup commented 4 years ago

Describe the bug

A domain is being darkned because it is similar to another domain on the list.

Steps to reproduce

Expected behavior

www.wuxiaworld.co should always get darkned by the extension but www.wuxiaworld.com should not.

Actual behavior

Both domains are being darkned by the extension

System Information:

VFDan commented 4 years ago

I understand why this is happening. "www.wuxiaworld.com" includes "www.wuxiaworld.co" in the URL, and thus style is being applied.

MicroBeast commented 4 years ago

@carlos-siestrup. Because it seem you use Whitelist set up for Dark Reader, adding ^www.wuxiaworld.co$ instead will give what you ask.

Edit: ^ not necessary.

carlos-siestrup commented 4 years ago

^www.wuxiaworld.co$ or www.wuxiaworld.co$ are not working. Adding $ is making dark reader stop darkening on both not just the one with.com. I use the option to darken the sites listed.

VFDan commented 4 years ago

I think www.wuxiaworld.co\/ should work, but this is untested.