AdguardTeam / AdguardTeam/SafariConverterLib

Negating scriptlets completely or regardless of its arguments is not supported

Open
#103 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Swift
Stars
78
Forks
20
PR merge metrics
No merged PRs in 30d

Description

## Negating regardless of its arguments is not supported

```
example.org,example.com#%#//scriptlet("abort-on-property-read", "alert")
example.com#@%#//scriptlet("abort-on-property-read")
```

* Expected result: the scriptlet is negated on `example.com`
* Actual result: the scriptlet is not negated

## Disable all scriptlets for domain

```
example.org,example.com#%#//scriptlet("abort-on-property-read", "alert")
example.com#@%#//scriptlet()
```

* Expected result: all scriptlets are disabled on `example.com`
* Actual result: the scriptlets still work

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.