-
Notifications
You must be signed in to change notification settings - Fork 817
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
play.virginmediatelevision.ie: ads #25164
Comments
@gorhill Sorry, somehow I can't use any filters to target the XML with the URL https://699f4b4fd221407ead714c33183bba51.mediatailor.eu-west-1.amazonaws.com/v1/dash/774d979dd66704abea7c5b62cb34c6815fda0d35/virgin-vod/virginmedia/remix/virgin_four/52572531/52572531.ism/manifest.mpd?aws.sessionId=fb22fed2-09b5-4593-9a6e-baaea0d65b30 even with play.virginmediatelevision.ie##+js(xml-prune, Period, , amazonaws.com/v1/dash/)
play.virginmediatelevision.ie##+js(trusted-replace-xhr-response, e, , amazonaws.com/v1/dash/)
||amazonaws.com/v1/dash/$replace=/e//gms You might need VPN to Ireland for this site. |
The VPN I use does not offer a server for Ireland, so I can't reproduce. What is the Ok loading that URL directly in the browser I get a valid response, with For |
Has there been many cases of using |
Not yet as far as I know. But ability to perform non-regex pruning ( There's actually another case of |
Ok I might have identified the issue, thought this will need confirmation. What seems to be the issue is that when |
Related feedback: uBlockOrigin/uAssets#25164 (comment)
@gorhill Another case is twitch. |
@gorhill Hmm...
play.virginmediatelevision.ie##+js(json-prune, avails)
||amazonaws.com/v1/dash/$replace=/<Period[^\n]+\n[^<]+<BaseURL>https:\/\/vod-virginmedia-ssai.+?<\/Period>//gms
||amazonaws.com/v1/dash/$replace=/(?:mediaPresentationDuration|start)="[^"]+"//g I tried putting breakpoints inside uBO's |
For the case I could reproduce, I was able to take the breakpoint, and the code path I added which I believe is the issue was taken: US VPN This breaks the player, as expected -- this was just to confirm the new code path is indeed needed -- the player was not broken before modifying the code. |
A temp solution is play.virginmediatelevision.ie##+js(trusted-replace-outbound-text, JSON.stringify, /^.+$/s, {}, condition, adsParams) but it's weird that I can't use any Both of these don't work for me play.virginmediatelevision.ie##+js(trusted-prune-outbound-object, JSON.stringify, adsParams)
play.virginmediatelevision.ie##+js(trusted-prune-inbound-object, JSON.stringify, adsParams) The JSON passed to {"adsParams":{"ip":"146.70.48.5,for=64.252.114.42","app_bundle":"app_bundle","app_store_url":"app_store_url","app_version":"app_version","content_id":"52572531","content_title":"A+Touch+of+Frost","platform":"firefox","gam_child_ad_unit_1":"VirginMedia_Player_VOD/VirginMedia_Player_ROS","gam_child_ad_unit_2":"Desktop","gam_description_url":"https://play.virginmediatelevision.ie/replay/52572531","device_type":"device_type","lmt":"0","gdpr":"1","gdpr_consent":"CQEbF4AQEbF4AAGABBENBFFgAAAAAEPAABAgAAAMEgBALzAYIAAA.YAAAAAAAAAAA","cmsid":"2683343","testing":"false"}} Ok, I think play.virginmediatelevision.ie##+js(json-prune-fetch-response, response.ads, , propsToMatch, /streams) is the best solution now |
Prerequisites
URL(s) where the issue occurs.
https://play.virginmediatelevision.ie/shows
Description
Doesn't block ad segments when playing shows
Other extensions used
Tamper Monkey
Ground News Checker
Screenshot(s)
Screenshot(s)
Configuration
Details
The text was updated successfully, but these errors were encountered: