AdguardTeam / AdguardTeam/CoreLibs

UserscriptWrapper does not return result of GM.xmlHttpRequest

Đang mở
#1,898 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Bug Priority: P3
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
52
Fork
10
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Please answer the following questions for yourself before submitting an issue

- [X] Filters were updated before reproducing an issue
- [X] I checked the [knowledge base](https://adguard.com/kb/) and found no answer
- [X] I checked to make sure that this issue has not already been filed

### AdGuard version

Adguard for Android 4.7 nightly 6

### Browser version

Chrome

### OS version

Android 14

### Issue Details

Steps to reproduce:
1. Install microShield userscript via https://cdn.jsdelivr.net/gh/List-KR/microShield@latest/microShield.user.js.
2. Visit https://dogdrip.net

### Expected Behavior

The CSS remote token should be returned.

### Actual Behavior

`GM.xmlHttpRequest` does not return a `Promise` constructor.

### Screenshots

Screenshots

![image](https://github.com/user-attachments/assets/1a6ba522-c567-4cb5-9dba-d9de72da78f2)
![image (1)](https://github.com/user-attachments/assets/357b2755-1717-44df-b0db-76f85fe0bb73)

### Additional Information

https://github.com/AdguardTeam/CoreLibs/issues/1894

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.