Skip to content

$jsonprune modifier should be able to handle quotes for jsonp #1734

Description

@contribucious

Hello,

This is an enhancement request regarding the jsonp support.

Problem

Working example — Yandex, from here:
Ya[1696872491473]('{…json…}')
Not working example — FreeWheel, a Comcast company, from $replace rules here:
tv.freewheel.SDK._instanceQueue['Context_1'].requestComplete('{…json…}')

Resolution

According to my tests, just need to add support for single (and also ideally, double) quotes for jsonp.

↪️ In a controlled environment, removing quotes by using [Context_1] instead will make the thing work.

 


💻 AdGuard 7.13 nightly 3 (build 4206, CL 1.11.50) on Windows 10 Pro. | Thanks! ✌️

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions