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

广告 #1

Open
tighunt opened this issue Jul 20, 2018 · 5 comments
Open

广告 #1

tighunt opened this issue Jul 20, 2018 · 5 comments

Comments

@tighunt
Copy link

tighunt commented Jul 20, 2018

https://github.com/phobal/ivideo播放的时候没有广告,为什么这个总是有广告呢,怎么去掉呢

@CrazyDudo
Copy link
Owner

@tighunt 已屏蔽底部广告;
说明一下:广告来自播放源,我通过域名进行了屏蔽。吐槽:他们的js代码看着真恶心

@CrazyDudo CrazyDudo reopened this Jul 20, 2018
@tighunt
Copy link
Author

tighunt commented Jul 26, 2018

看到广告屏蔽的代码了,只是没有效果啊,点击每一个播放源出来的广告的域名都是不一样的,要是能找到像pc那样的屏蔽功能就好了

@CrazyDudo
Copy link
Owner

CrazyDudo commented Jul 26, 2018

@tighunt PC并不需要屏蔽,播放源会判断只给移动设备植入广告。
屏蔽了5月-26,爱跟影院等线路,还没有挨个排查。
你可以把你常用且可用的线路列出来,我去查一下。

//大部分能播放的线路广告都屏蔽了。

@yjjstc2017
Copy link

我觉得可以在shouldOverrideUrlLoading里面监视url里面是不是包括播放源的地址,有的话加一个桌面的User-Agent不包括就加一个移动端的。
还有个小Bug如果已经在播放源播放了,左移还可以选播放源,进去以后就变成类似http://api.ttshangpin.com/jx.php?url=http://api.ttshangpin.com/jx.php?url=https://v.qq.com/x/cover/xxxxx.html
感觉可以加个判断吧

@CrazyDudo
Copy link
Owner

@yjjstc2017 已增加左滑点击判断;)

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

3 participants