Maximize Video

Maximize all video players.Support Piture-in-picture.

< Feedback on Maximize Video

Question/comment

§
Posted: 2018-03-03

脚本代码 while 判断逻辑错误?

checkParent: function()的
代码段: while (full = full.parentNode)
应该是: while (full == full.parentNode)
???

冻猫Author
§
Posted: 2018-03-09
Edited: 2018-03-09

你能用,那么就证明没错呀,你可以自己改成两个等号看看什么效果。

§
Posted: 2018-03-09

恩, 我已经改了, 运行良好

冻猫Author
§
Posted: 2018-03-10
恩, 我已经改了, 运行良好

不是。。你改成两个等号后,如果只在几个样式逻辑比较规范的网站的确可以用。优酷youtube都可以。
你去试试一些直播网站,虎牙,斗鱼。
代码是没错的。这个while不是为了判断等号两边是不是一样的。感兴趣可以仔细研究下。

Post reply

Sign in to post a reply.