Skip to content
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

v.qq.com [anti adblock] #4293

Closed
discusssth opened this issue Dec 11, 2018 · 31 comments
Closed

v.qq.com [anti adblock] #4293

discusssth opened this issue Dec 11, 2018 · 31 comments

Comments

@discusssth
Copy link

discusssth commented Dec 11, 2018

URL: https://v.qq.com/x/cover/3hcdu70po7fiuph/i0811lpp5fb.html
image

my-ublock-backup:my-ublock-backup_2018-12-11_11.36.46.txt

@mapx-
Copy link
Contributor

mapx- commented Dec 11, 2018

I cannot reproduce the issue using the default setup (+ the 2 chinese lists)

@discusssth
Copy link
Author

@mapx-
Copy link
Contributor

mapx- commented Dec 11, 2018

waiting 44 seconds then the video is running ok

@discusssth
Copy link
Author

discusssth commented Dec 11, 2018

please remove that 44 seconds count down..

@mapx-
Copy link
Contributor

mapx- commented Dec 11, 2018

try (with and without the chinese lists)

/variety.tc.qq.com/*.mp4$media,redirect=noopmp4-1s,domain=v.qq.com
://apd-*.qq.com/$media,redirect=noopmp4-1s,domain=v.qq.com
/vlive.qqvideo.tc.qq.com/*.mp4?*sdtfrom=&$media,redirect=noopmp4-1s,domain=v.qq.com

@discusssth
Copy link
Author

no work (with and without the chinese lists)

@mapx-
Copy link
Contributor

mapx- commented Dec 11, 2018

meaning you still get anti adblock stuff or the preroll ?

@discusssth
Copy link
Author

@mapx-
yes, still get anti adblock stuff and the preroll

@mapx-
Copy link
Contributor

mapx- commented Dec 13, 2018

@jspenguin2017 maybe is the same issue as iqiyi.com ?

@jspenguin2017
Copy link
Contributor

Looks similar, but Tencent and Baidu (who owns iQiyi) are not the same company. I would assume the technology they are using are different.

@mapx-
Copy link
Contributor

mapx- commented Dec 13, 2018

...now I get no waiting sequence (no custom filters added)

@okiehsch
Copy link
Contributor

I now get this new "thing".
image

@jspenguin2017
Copy link
Contributor

@mapx- I guess it only happens sometimes.

@jspenguin2017
Copy link
Contributor

jspenguin2017 commented Dec 13, 2018

@okiehsch It's just a network error. It should be gone if you refresh or choose another video.

@okiehsch
Copy link
Contributor

Yes, after I refresh I can play the video without issue.

@okiehsch
Copy link
Contributor

@mapx-

/variety.tc.qq.com/*.mp4$media,redirect=noopmp4-1s,domain=v.qq.com
://apd-*.qq.com/$media,redirect=noopmp4-1s,domain=v.qq.com
/vlive.qqvideo.tc.qq.com/*.mp4?*sdtfrom=&$media,redirect=noopmp4-1s,domain=v.qq.com

will not result in a redirection, the filter must start with || or *, otherwise no redirection will occur, although a blocking filter will be created.

@mapx-
Copy link
Contributor

mapx- commented Dec 13, 2018

oh, so

*/variety.tc.qq.com/*.mp4$media,redirect=noopmp4-1s,domain=v.qq.com
*://apd-*.qq.com/$media,redirect=noopmp4-1s,domain=v.qq.com
*/vlive.qqvideo.tc.qq.com/*.mp4?*sdtfrom=&$media,redirect=noopmp4-1s,domain=v.qq.com

However - now - I get only network errors (with / without any custom filter)

@okiehsch
Copy link
Contributor

I now get
image

redirecting the media requests I can see on my end.

*/variety.tc.qq.com/*.mp4$media,redirect=noopmp4-1s,domain=v.qq.com
*/vlive.qqvideo.tc.qq.com/*.mp4?*sdtfrom=&$media,redirect=noopmp4-1s,domain=v.qq.com

does not work.

@okiehsch
Copy link
Contributor

Well, now I can't reproduce again, great .....
@jspenguin2017 can you test if
v.qq.com##+js(nano-setInterval-booster.js) works for you?

@jspenguin2017
Copy link
Contributor

That breaks the player.

@discusssth
Copy link
Author

@LiCybora need help

LiCybora added a commit to LiCybora/NanoDefenderFirefox that referenced this issue Feb 26, 2019
@LiCybora
Copy link

Redirect not work as they verify all video ads information, such as resolution, url and md5, and timer boost break the playback. I am unwilling to spend time on this nasty site.

If you are willing to use Firefox with Nano Defender, I do have a simple solution (Not work for Chrome/ium due to lacking StreamFilter).

@jspenguin2017
Copy link
Contributor

jspenguin2017 commented Feb 27, 2019

Looks like the request is a normal XHR, in that case, a.replaceXHR is enough to deal with it. It works for all platforms.

Can someone confirm?

@LiCybora
Copy link

Not really...
image

@jspenguin2017
Copy link
Contributor

jspenguin2017 commented Feb 27, 2019

That's weird... Are you getting POST or JSONP for the requests? It's POST for me on both Chrome and Firefox.

I think your code would only catch JSONP and mine only POST. Can you show your network tab?

image

@LiCybora
Copy link

LiCybora commented Feb 27, 2019

image
How come all are GET on my end...? Geo-related?

@jspenguin2017
Copy link
Contributor

jspenguin2017 commented Feb 27, 2019

Are you on Nightly? Can you try a clean install of Firefox stable?
It could be checking the user agent string.

@LiCybora
Copy link

LiCybora commented Feb 27, 2019

image
Clean Firefox Stable now, still GET.

I guess I know the reason...the EasyList China causing this. Sorry my fault...
image

jspenguin2017 added a commit to jspenguin2017/uBlockProtector that referenced this issue Feb 27, 2019
@jspenguin2017
Copy link
Contributor

Oh, good catch! I'll add an integration filter rule.

jspenguin2017 added a commit to jspenguin2017/uBlockProtector that referenced this issue Feb 27, 2019
jspenguin2017 added a commit to NanoAdblocker/NanoFilters that referenced this issue Feb 27, 2019
jspenguin2017 added a commit to NanoAdblocker/NanoFilters that referenced this issue Feb 27, 2019
jspenguin2017 added a commit to jspenguin2017/uBlockProtector that referenced this issue Feb 27, 2019
@jspenguin2017
Copy link
Contributor

OK, should be good now. Can you verify?

@LiCybora
Copy link

Yes, it is good now.

@mapx- mapx- closed this as completed Mar 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants