Greasy Fork is available in English.

鼠标拖拽

鼠标拖拽,按住鼠标左键拖拽选中文本、链接、图片后复制、打开、搜索,Alt+Y进入设置,Esc退出设置

< Feedback on 鼠标拖拽

Review: Good - script works

§
Posted: 2022-05-28

你好,脚本很好用,请问能不能加入手势功能

lyscopAuthor
§
Posted: 2022-05-28
Edited: 2022-05-28

感谢支持,不行,纯拖拽功能

需要手势可以使用原脚本

§
Posted: 2022-05-29

谢谢回复,因为你的脚本可以设置后台打开,很实用的功能。

lyscopAuthor
§
Posted: 2022-05-29

这个简单,我待会另外弄个脚本,设置好快捷键

然后用其他手势脚本,或者手势软件调用快捷键

前台,后台打开链接,图片

lyscopAuthor
§
Posted: 2022-05-29

不对,为啥不用拖拽后台打开,要用手势

以下添加在②supported functions 之前

快捷键Alt+Z打开鼠标处链接,设置鼠标手势是鼠标不能移出链接

    var linkmouse;
    //新标签页打开链接 Alt+Z
    if(keynum==81 && event.altKey){
        GM_openInTab(linkmouse, {
            active: false,
            insert: true,
            setParent :false
        });
        //console.log(linkmouse);
        count(newFn.openLink);
    }

    document.addEventListener('mouseover', function (e) {
        if(e.target.tagName === 'A') linkmouse = e.target.href
        else if(e.target.parentNode.tagName === 'A') linkmouse = e.target.parentNode.href;
    });

§
Posted: 2022-05-30

谢谢作者大大

Post reply

Sign in to post a reply.