You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AdGuard for Windows 7.13 n7 / CL 1.11.69
Filters: user filter only
Stealth mode: disabled
Extensions: disabled
Browser: Chrome 111
Actual behavior
The rules applied to gist.githubusercontent.com, but JSON from Spotify is not modified.
Sample URL of Spotify's JSON https://gew1-spclient.spotify.com/track-playback/v1/devices/16afbb2489326b6bababc717ff95f7774e3c4b41/state
||gist.githubusercontent.com/Alex-302/*/spot.json$xmlhttprequest,jsonprune=\$.state_machine.tracks[?(key-eq 'content_type' 'AD')]
Same with $replace rule
http$replace=/"content_type":"TRACK"/"content_type":"_TRACK"/ - also does not work on spotify.com
Alex-302
changed the title
'$jsonprune' does not work on spotify.com
$jsonprune does not work with non-GET-POST HTTP methods
Apr 4, 2023
Alex-302
changed the title
$jsonprune does not work with non-GET-POST HTTP methods
$jsonprune, $replace, $hls does not work with non-GET-POST HTTP methods
Apr 4, 2023
Related to AdguardTeam/AdguardFilters#147097
AdGuard for Windows 7.13 n7 / CL 1.11.69
Filters: user filter only
Stealth mode: disabled
Extensions: disabled
Browser: Chrome 111
Actual behavior
The rules applied to gist.githubusercontent.com, but JSON from Spotify is not modified.
Sample URL of Spotify's JSON
https://gew1-spclient.spotify.com/track-playback/v1/devices/16afbb2489326b6bababc717ff95f7774e3c4b41/state
Tested rules:
||spotify.com/track-playback/$xmlhttprequest,jsonprune=\$.state_machine.tracks[?(key-eq 'content_type' 'AD')]
||gist.githubusercontent.com/Alex-302/*/spot.json$xmlhttprequest,jsonprune=\$.state_machine.tracks[?(key-eq 'content_type' 'AD')]
Same with
$replace
rulehttp$replace=/"content_type":"TRACK"/"content_type":"_TRACK"/
- also does not work on spotify.comThe first rule - for spotify.com
The second - for the JSON with ad - https://gist.githubusercontent.com/Alex-302/7a2bf1eb091e8daba651aa47acfa73d8/raw/397115a61b5ef6cc54362281635be0a84a365246/spot.json
Sample HAR file. Search for
"content_type":"AD"
open.spotify.com.zip
The text was updated successfully, but these errors were encountered: