mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 12:50:36 +01:00
userAgent feature could not be disabled
This commit is contained in:
parent
d4ce6c4b4b
commit
83a8234b24
@ -73,8 +73,8 @@
|
||||
settings.get("protectNavigator", url) &&
|
||||
check.check({url}).mode !== "allow" &&
|
||||
(
|
||||
!settings.protectedAPIFeatures.hasOwnProperty("userAgent") ||
|
||||
settings.protectedAPIFeatures.userAgent
|
||||
!settings.protectedAPIFeatures.hasOwnProperty("userAgent @ navigator") ||
|
||||
settings.protectedAPIFeatures["userAgent @ navigator"]
|
||||
)
|
||||
){
|
||||
for (var header of details.requestHeaders){
|
||||
|
Loading…
x
Reference in New Issue
Block a user