darkreader / darkreader/darkreader
[BUG] does not work if the query string contains the site name from the exclude list
- Dominant language
- TypeScript
- Stars
- 22.4k
- Forks
- 2.7k
- Avg merge
- 21h 11m
- Merged PRs (30d)
- 78
Description
### **Describe the bug**
Dark Reader does not work if the query string contains the site name from the exclude list.
### **Steps to reproduce**
- Add `example.com` to the exclude list
- Ensure that there is not `google.com` in the exclude list
- Go to 'https://www.google.com/search?q=site:https://www.example.com/'
### **Expected behavior**
Dark Reader works on `https://www.google.com/search?q=site:https://www.example.com/`
### **Actual behavior**
Dark Reader does not work on `https://www.google.com/search?q=site:https://www.example.com/`
### **Screenshots**

### **System Information:**
- OS: Ubuntu 20.10
- Browser: Chrome 87.0.4280.88 (Official Build) (64-bit)
- Dark Reader version: 4.9.26
### **Additional context**
does not work too if the site name in the middle of the query string, for example: 'https://www.google.com/search?q=site:https://www.example.com/&something=test'
Contributor guide
Assessment
This issue has not been assessed yet.