Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29325973: Noissue - Apply YouTube workaround on Chrome (PLEASE REVERT ME!) (Closed)

Created:
Sept. 5, 2015, 3:04 p.m. by Sebastian Noack
Modified:
Sept. 16, 2015, 6:47 a.m.
Reviewers:
kzar
Visibility:
Public.

Description

This is a a quick and ugly hack to apply the workaround, we currently have on Safari, to remove ads from YouTube videos by messing with YT's JavaScript, also on Chrome. Currently, for some users, ads aren't blocked in YouTube videos, due to a Chrome bug: https://code.google.com/p/chromium/issues/detail?id=526413 All ad blockers are effected, and nobody has a workaround yet. So I'd like to offer one to our users for the time being. I will take care to revert this change before the code freeze for the next release.

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -6 lines) Patch
M metadata.common View 1 chunk +2 lines, -1 line 3 comments Download
M metadata.safari View 1 chunk +0 lines, -4 lines 0 comments Download
M safari/include.youtube.js View 1 chunk +1 line, -1 line 3 comments Download

Messages

Total messages: 5
Sebastian Noack
Sept. 5, 2015, 3:12 p.m. (2015-09-05 15:12:38 UTC) #1
kzar
https://codereview.adblockplus.org/29325973/diff/29325974/metadata.common File metadata.common (right): https://codereview.adblockplus.org/29325973/diff/29325974/metadata.common#newcode26 metadata.common:26: include.youtube.js = safari/include.youtube.js Shouldn't this be added to metadata.chrome ...
Sept. 5, 2015, 3:17 p.m. (2015-09-05 15:17:26 UTC) #2
Sebastian Noack
https://codereview.adblockplus.org/29325973/diff/29325974/metadata.common File metadata.common (right): https://codereview.adblockplus.org/29325973/diff/29325974/metadata.common#newcode26 metadata.common:26: include.youtube.js = safari/include.youtube.js On 2015/09/05 15:17:26, kzar wrote: > ...
Sept. 5, 2015, 3:21 p.m. (2015-09-05 15:21:14 UTC) #3
kzar
LGTM https://codereview.adblockplus.org/29325973/diff/29325974/metadata.common File metadata.common (right): https://codereview.adblockplus.org/29325973/diff/29325974/metadata.common#newcode26 metadata.common:26: include.youtube.js = safari/include.youtube.js On 2015/09/05 15:21:14, Sebastian Noack ...
Sept. 5, 2015, 3:22 p.m. (2015-09-05 15:22:58 UTC) #4
Sebastian Noack
Sept. 16, 2015, 6:47 a.m. (2015-09-16 06:47:24 UTC) #5
Closing this review unmerged now. It turned out that this only happened with the
YouTube app from the Chrome Web Store installed. Since Chrome 45, the webRequest
API doesn't report requests initiated by other extensions anymore. However, due
to a bug, requests associated with apps were ignored as well. This has been
fixed now in upstream Chrome. And the fix got merged back to Chrome 45. Hence
this workaround isn't necessary anymore.

Powered by Google App Engine
This is Rietveld