Skip to content

Commit

Permalink
merge master
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-atr committed Dec 29, 2022
2 parents 89185d3 + 88c982d commit 0aeb1d5
Show file tree
Hide file tree
Showing 17 changed files with 232 additions and 39 deletions.
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,23 @@

- `prevent-xhr` and `trusted-replace-xhr-response` closure bug on multiple requests [#261](https://github.com/AdguardTeam/Scriptlets/issues/261)

## Unreleased 1.7.x
## v1.7.20

### Added

- `isBlocking()` method for Redirects class
- `file` field for redirect type

### Fixed

- Redirects types.

## v1.7.19

### Fixed

- `prevent-addEventListener` and `log-addEventListener` loosing context when encountering already bound `.addEventListener`
- `google-ima3` conversion

## v1.7.14

Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,11 @@ const redirects = new Redirects(rawYaml)
*/
const redirect = redirect.getRedirect('noopjs');

/**
* Check if redirect is blocking, e.g. click2load.html
*/
const isBlocking = redirect.isBlocking('click2load.html');

/**
* Redirect - object with following props
* {
Expand Down
2 changes: 1 addition & 1 deletion dist/build.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=1.7.14
version=1.7.20
5 changes: 4 additions & 1 deletion dist/redirects.json
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,10 @@
},
{
"title": "google-ima3",
"aliases": [],
"aliases": [
"ubo-google-ima.js",
"google-ima.js"
],
"isBlocking": false,
"contentType": "application/javascript;base64",
"content": "IWZ1bmN0aW9uKHNvdXJjZSxhcmdzKXtmdW5jdGlvbiBub29wRnVuYygpe31mdW5jdGlvbiBsb2dNZXNzYWdlKHNvdXJjZSxtZXNzYWdlKXt2YXIgZm9yY2VkPWFyZ3VtZW50cy5sZW5ndGg+MiYmdm9pZCAwIT09YXJndW1lbnRzWzJdJiZhcmd1bWVudHNbMl07KGZvcmNlZHx8c291cmNlLnZlcmJvc2UpJiZ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Y2UpfX0oc291cmNlKX0pLmFwcGx5KHRoaXMsdXBkYXRlZEFyZ3MpfWNhdGNoKGUpe2NvbnNvbGUubG9nKGUpfX0oe25hbWU6Imdvb2dsZS1pbWEzIixhcmdzOltdfSxbXSk7"
Expand Down
6 changes: 4 additions & 2 deletions dist/redirects.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# AdGuard Scriptlets (Redirects Source)
# Version 1.7.14
# Version 1.7.20
#
- title: 1x1-transparent.gif
description: |-
Expand Down Expand Up @@ -1428,7 +1428,9 @@

- title: google-ima3
comment: Mocks the IMA SDK of Google.
aliases: []
aliases:
- ubo-google-ima.js
- google-ima.js
contentType: application/javascript
content: |-
(function(source, args) {
Expand Down
Loading

0 comments on commit 0aeb1d5

Please sign in to comment.