darkreader / darkreader/darkreader

[BUG] does not work if the query string contains the site name from the exclude list

Aperta
#4,675 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
TypeScript
Stelle
22.4k
Fork
2.7k
Merge medio
21h 46m
PR unite (30g)
75

Descrizione

### **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**

![image](https://user-images.githubusercontent.com/36765595/103722303-b3a2ed80-4fe0-11eb-9018-d2add58ab3cd.png)

### **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'

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.