手机浏览器触摸手势

为手机浏览器添加触摸手势,即装即用,无需配置。除了通用手势外,还有针对文字、图片、视频的特殊手势。还嫌不够?支持添加属于你的个性化手势。推荐使用狐猴浏览器、Yandex浏览器和Kiwi浏览器。

< Feedback on 手机浏览器触摸手势

Review: Good - script works

§
Posted: 14/03/2020
Edited: 14/03/2020

youtube全屏有问题,如下图

yandex浏览器看youtube,先按播放窗口右下角那个方块进行全屏播放,然后双击退出全屏就变成这样了

L.XavierAuthor
§
Posted: 14/03/2020

能详细描述一下你的问题吗,我测试了一下并未发现问题,不知是不是版本问题。

§
Posted: 14/03/2020
Edited: 14/03/2020

@"L.Xavier" 说道: 能详细描述一下你的问题吗,我测试了一下并未发现问题,不知是不是版本问题。

第一个问题 : 先按播放窗口右下角那个方块进行全屏播放,然后再双击会自动退出全屏,退出全屏后就是上面那张图这个样子了

第二个问题 : 先双击播放器会自动全屏观看,然后按手机home键返回桌面,然后可以看到桌面有个播放窗口看不到画像,能听到声音,双击桌面的那个播放窗口会自动切换到浏览器,然后又变成下图这个样子了

L.XavierAuthor
§
Posted: 14/03/2020

第一个问题,我测试过新版本的yandex,并未发现你的问题。所以我无法定位你的问题出在哪里。 第二个问题,yandex较新的版本设置里有一个视频显示在其他应用上的开关,关闭就不会有那个播放窗口。这是html5的新特性:画中画,PC端支持较好,安卓端兼容性较差,故会导致一定的bug发生。

§
Posted: 14/03/2020
Edited: 14/03/2020

我是在谷歌商店下载的稳定版,只要按播放窗口右下角那个方块进行全屏,然后再双击退出全屏问题就会复现,我排查了所有扩展和脚本,没有冲突,浏览器也是刚安装的

L.XavierAuthor
§
Posted: 14/03/2020

1.其他网页也是这样吗?还是只有YouTube这样?

2.换一个版本试试,我测试版本为20.2.2.142(好像是,记不清了)

3.关闭本脚本,在重复刚才操作是否还会发生错误?

4.关闭yandex的视频显示在其他应用上,还会不会发生错误?

L.XavierAuthor
§
Posted: 14/03/2020
Edited: 14/03/2020

测试下请告诉我,帮助我定位问题。

§
Posted: 14/03/2020

@"L.Xavier" 说道: 能详细描述一下你的问题吗,我测试了一下并未发现问题,不知是不是版本问题。

我关闭暴力猴效果是这样的,好像是yandex浏览器本身的bug,如图

L.XavierAuthor
§
Posted: 14/03/2020
Edited: 14/03/2020

如果是,浏览器的问题,可以换个版本。https://apkcombo.com/zh-cn/ 有历史版本下载,也可以试试kiwi浏览器。

§
Posted: 14/03/2020

@"L.Xavier" 说道: 如果是,浏览器的问题,可以换个版本。https://apkcombo.com/zh-cn/ 有历史版本下载,也可以试试kiwi浏览器。

我试了好多版本,都普遍存在的问题,只要一直不停的反复全屏,退出全屏,问题就复现了,还是用最新版yandex好了,kifi加载网页速度太慢,有些网站打不开,提示连接不是安全的私密链接,也不能添加例外

§
Posted: 14/03/2020

kiwi浏览器是这样的

L.XavierAuthor
§
Posted: 15/03/2020

我目前用的就是kiwi,从未出现过你的问题,所以不清楚原因是什么,无法帮到你,抱歉。

§
Posted: 09/01/2021

Is this script only works on yandex browser not other browser which supports js.????

L.XavierAuthor
§
Posted: 09/01/2021
Is this script only works on yandex browser not other browser which supports js.????

All browsers that can install tampermonkey are supported. Yandex and kiwi browsers are supported on the mobile. Don't support Firefox browser at the moment. I didn't make the script compatible with Firefox browser.In theory, PC can also be used, but the script is for mobile phones. So it is recommended to use yandex or Kiwi browser.

§
Posted: 09/01/2021

Please make it compatible to work on all mobile browser that support java script.

L.XavierAuthor
§
Posted: 09/01/2021

Some code of the script needs to be supported by tampermonkey.You can simplify the code by yourself, and delete some code relying on the tampermonkey, similar to " GM_*** ".

L.XavierAuthor
§
Posted: 09/01/2021
Edited: 09/01/2021

It's all simple code, there is no advanced technology. If you need this code,you can use it.

§
Posted: 09/01/2021

So can you send me simplified code to me t.me/Karan92

§
Posted: 09/01/2021

Can you please simplified the script ,make a new script that works on all browser.

§
Posted: 10/01/2021
It's all simple code, there is no advanced technology. If you need this code,you can use it.

Pls make an simplified script that works on all browser

L.XavierAuthor
§
Posted: 10/01/2021

I'm very sorry. You can rely on yourself to make one. You just need to replace the code functions related to tampermonkey with JS, such as "GM_setClipboard" Replace with JS code for copying content.The rest can be found in the tampermonkey help document.You can adapt this script to your environment.

§
Posted: 11/01/2021

Ok thanks, ver 3.1.2 works well on my browser. But dont understand where to reduce gesture seek speed.

L.XavierAuthor
§
Posted: 11/01/2021
Ok thanks, ver 3.1.2 works well on my browser. But dont understand where to reduce gesture seek speed.

Amend the following, increase 20.
"if(Math.abs(angx)<20 && Math.abs(angy)<20)"

It is recommended that you use and modify the new version.

§
Posted: 12/01/2021
Ok thanks, ver 3.1.2 works well on my browser. But dont understand where to reduce gesture seek speed.
Amend the following, increase 20.
"if(Math.abs(angx)<20 && Math.abs(angy)<20)"

It is recommended that you use and modify the new version.

Ok, after increasing value of 20, finger swipes distance increases but this is not my pb i want to reduce video seek time, i mean skip less video seconds.

L.XavierAuthor
§
Posted: 12/01/2021
Edited: 12/01/2021

Sorry, I misunderstood the "gesture" word.
You say "video", I understand.

You need to modify the line containing "videoplay.currentTime".
You can multiply a coefficient directly.

L.XavierAuthor
§
Posted: 12/01/2021

If you don't know JS,you can try yandex or kiwi browser.I'm using Kiwi browser,version is mirror.You can install tampermonkey, ABP and other very convenient plug-ins.It's no different from using Chrome browser on your computer.

§
Posted: 13/01/2021
If you don't know JS,you can try yandex or kiwi browser.I'm using Kiwi browser,version is mirror.You can install tampermonkey, ABP and other very convenient plug-ins.It's no different from using Chrome browser on your computer.

I have found video gesture js in some browser
but it is not working in other browser, can you please look at it.. https://greasyfork.org/en/scripts/420121-video-gesture-on-mobile

Post reply

Sign in to post a reply.