Greasy Fork

手机浏览器触摸手势

为手机浏览器添加触摸手势,即装即用,无需配置😎。拥有超多通用手势满足你的需求,还设计有对📝文字、🖼️图片、🎥视频交互的特殊手势💪。还想要更多😱?支持添加属于你的个性化手势,更有隐藏功能等待你的发现😏!推荐使用狐猴浏览器、Edge浏览器和Yandex浏览器。

< 脚本手机浏览器触摸手势的反馈

评价:好评 - 脚本运行良好

§
发表于:2020-03-14
编辑于:2020-03-14

youtube全屏有问题,如下图

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

L.Xavier作者
§
发表于:2020-03-14

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

§
发表于:2020-03-14
编辑于:2020-03-14

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

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

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

L.Xavier作者
§
发表于:2020-03-14

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

§
发表于:2020-03-14
编辑于:2020-03-14

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

L.Xavier作者
§
发表于:2020-03-14

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

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

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

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

L.Xavier作者
§
发表于:2020-03-14
编辑于:2020-03-14

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

§
发表于:2020-03-14

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

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

L.Xavier作者
§
发表于:2020-03-14
编辑于:2020-03-14

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

§
发表于:2020-03-14

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

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

§
发表于:2020-03-14

kiwi浏览器是这样的

L.Xavier作者
§
发表于:2020-03-15

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

§
发表于:2021-01-09

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

L.Xavier作者
§
发表于:2021-01-09
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.

§
发表于:2021-01-09

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

L.Xavier作者
§
发表于:2021-01-09

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.Xavier作者
§
发表于:2021-01-09
编辑于:2021-01-09

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

§
发表于:2021-01-09

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

§
发表于:2021-01-09

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

§
发表于:2021-01-10
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.Xavier作者
§
发表于:2021-01-10

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.

§
发表于:2021-01-11

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

L.Xavier作者
§
发表于:2021-01-11
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.

§
发表于:2021-01-12
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.Xavier作者
§
发表于:2021-01-12
编辑于:2021-01-12

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.Xavier作者
§
发表于:2021-01-12

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.

§
发表于:2021-01-13
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

发表回复

登录以发表回复。