Skip to content

Commit dc4e125

Browse files
committed
fix prevent-bab aliases and update changelog for 1.7.10 AG-13369
Merge in ADGUARD-FILTERS/scriptlets from fix/AG-13369_03 to master Squashed commit of the following: commit cb30a8d Author: Stanislav A <s.atroschenko@adguard.com> Date: Tue Dec 6 18:20:29 2022 +0300 fix changelog commit 597b463 Author: Stanislav A <s.atroschenko@adguard.com> Date: Tue Dec 6 18:07:17 2022 +0300 fix prevent-bab aliases and update changelog for 1.7.10
1 parent e7c13e0 commit dc4e125

3 files changed

Lines changed: 10 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
# Scriptlets and Redirect Resources Changelog
22

3-
## v1.7.6
3+
## v1.7.10
44

55
### Added
66

77
* new scriptlet `trusted-set-cookie-reload`
88

99
### Fixed
1010

11+
* `set-cookie-reload` infinite page reloading
12+
* breakage of `prevent-element-src-loading` due to `window` getting into `apply` wrapper
1113
* spread of args bug at getXhrData call for `trusted-replace-xhr-response`
1214
* request properties array not being served to `getRequestData` and `parseMatchProps` helpers
1315

src/redirects/prevent-bab.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ const preventBab = preventBabScriptlet;
2121
preventBab.names = [
2222
'prevent-bab',
2323
// list of prevent-bab redirect aliases
24+
'nobab.js',
25+
'ubo-nobab.js',
26+
'bab-defuser.js',
27+
'ubo-bab-defuser.js',
28+
'ubo-nobab',
29+
'ubo-bab-defuser',
2430
];
2531

2632
export { preventBab };

src/scriptlets/prevent-bab.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,7 @@ export function preventBab(source) {
9494

9595
preventBab.names = [
9696
'prevent-bab',
97-
// aliases are needed for matching the related scriptlet converted into our syntax
98-
'nobab.js',
99-
'ubo-nobab.js',
100-
'bab-defuser.js',
101-
'ubo-bab-defuser.js',
102-
'ubo-nobab',
103-
'ubo-bab-defuser',
97+
// there is no aliases for this scriptlet
10498
];
10599

106100
preventBab.injections = [hit];

0 commit comments

Comments
 (0)