We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
就是当点击链接时把左键模拟成ctrl+左键或者鼠标中键
也许可以实现所有网站通用吧
The text was updated successfully, but these errors were encountered:
实现不了,至少我实现不了。
Sorry, something went wrong.
好吧
能实现,不过意义不大。提供一个思路:①先监听左键点击事件,并且阻止默认行为e.preventDefault()+e.stopPropagation(),②然后构造一个虚拟的鼠标中键事件elem.dispatchEvent(event),保证两个事件的[Event.target]一致
No branches or pull requests
功能需求
就是当点击链接时把左键模拟成ctrl+左键或者鼠标中键
预期目标
也许可以实现所有网站通用吧
The text was updated successfully, but these errors were encountered: