Mobile browser touch gestures

Add touch gestures to your mobile browser, ready to use and no configuration required. In addition to general gestures, there are also special gestures for text, images, and videos. Do you still think it's not enough? Support adding personalized gestures that belong to you. We recommend using Kiwi browser, Yandex browser, and Lemur browser.

< Feedback on Mobile browser touch gestures

Review: Good - script works

§
Posted: 2022-03-27

关闭所有标签页有代码吗???

§
Posted: 2022-03-27

安装了7.2.7,不生效为什么……

§
Posted: 2022-03-27

狐猴浏览器想实现退出浏览器自动关闭所有标签页…求指点…

L.XavierAuthor
§
Posted: 2022-03-27

这个不如直接打开无痕浏览,设置允许扩展在无痕下运行,这样你每次退出都会清空标签页。

使用脚本实现你的要求有诸多限制,JS的限制很多。比如关闭其它页面,就需要其它页面保持活动状态,而不是缓存在后台。

还有关闭所有标签页很可能遇到的一个问题就是最后一个页面关闭不了。当然这个也可以换个角度,将最后一个页面直接转调到你的主页,这样再打开就和打开主页一样。

L.XavierAuthor
§
Posted: 2022-03-27

核心代码为(写在脚本里,参考v7.2.7):
GM_addValueChangeListener('closeAll',(name,old_value,new_value,remote)=>{
if(remote){
window.close();
}
});

触发(写在手势数据中):GM_setValue("closeAll",Date());//关闭其它页面
location.href="你的主页网址";
GM_openInTab("chrome://quit");

L.XavierAuthor
§
Posted: 2022-03-27

大概就是这个逻辑,你可以尝试一下。当然了狐猴浏览器我没有用过,不保证绝对有效。

Post reply

Sign in to post a reply.