Prerequisites
I tried to reproduce the issue when...
Description
[=] and {=} tokens are used for checking a property's value to prune a matching parent property.
https://github.com/AdguardTeam/Scriptlets/blob/master/wiki/about-scriptlets.md#-%EF%B8%8F-json-prune
A specific URL where the issue occurs.
https://map.naver.com/p?c=15.00,0,0,0,dh
Steps to Reproduce
- Add the following filter to your user filter:
map.naver.com##+js(json-prune-xhr-response, layers.[-].metadata.name.{=}.POI_Ads, ,propsToMatch, url:/PCWeb_Real.json)
- Save the changes.
- Visit the provided uRL.
Expected behavior
It should be works like what Its AdGuard version works.
map.naver.com#%#//scriptlet('json-prune-xhr-response', 'layers.[-].metadata.name.{=}.POI_Ads', '', '/PCWeb_Real.json')
Please note that AdGuard scriptlet (2.2.7 or higher) is required.
Actual behavior
uBO cannot understand the syntax. So, the filter does not work.
uBO version
1.65.0
Browser name and version
Firefox 142.0.1
Operating System and version
Ubuntu 25.04
Prerequisites
I tried to reproduce the issue when...
Description
[=]and{=}tokens are used for checking a property's value to prune a matching parent property.https://github.com/AdguardTeam/Scriptlets/blob/master/wiki/about-scriptlets.md#-%EF%B8%8F-json-prune
A specific URL where the issue occurs.
https://map.naver.com/p?c=15.00,0,0,0,dhSteps to Reproduce
Expected behavior
It should be works like what Its AdGuard version works.
Please note that AdGuard scriptlet (2.2.7 or higher) is required.
Actual behavior
uBO cannot understand the syntax. So, the filter does not work.
uBO version
1.65.0
Browser name and version
Firefox 142.0.1
Operating System and version
Ubuntu 25.04