Skip to content

Cannot block request to YouTube after video closed #418

@metaphoricgiraffe

Description

@metaphoricgiraffe

Issue summary
Cannot block behind-the-scene image request after YouTube video is closed.

To reproduce

  1. Open YouTube video (e.g. https://www.youtube.com/watch?v=3TtVsy98ces) in a new tab
  2. Open uBlock logger (chrome://ublock0/content/logger-ui.html)
  3. Close YouTube video tab and observe outgoing requests
  4. See image requests to https://s.youtube.com/api/stats/qoe?event=streamingstats and https://s.youtube.com/api/stats/watchtime?ns=yt&el=detailpage being made in the logger after video is closed
  5. Create filter from UI to block requests
  6. Retry steps 1-4 to see requests are blocked

Screenshots

UI Logger in step 4 and 6 showing requests to s.youtube.com being made:
requests

Filters created in step 5:
filter

Filters in uBlock dashboard:
youtube-image

Symptoms of the issue

Requests made to https://s.youtube.com/api/stats/qoe?event=streamingstats and https://s.youtube.com/api/stats/watchtime?ns=yt&el=detailpage should be colored red (ie, a blocked request), instead of white.

Browser details

uBlock Origin 0.9.9.3 (beta), HTTPS Everywhere
Firefox 38.0.5 (latest version)
Windows 7

Also reproduced in:
uBlock Origin 0.9.9.1
Chrome 43.0.2357.130 (latest version)
Windows 8
Type of request is "object" instead of "image" in Google Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions