Select text inside a link like Opera

Disable link dragging and select text.

< 脚本Select text inside a link like Opera的反馈

评价:一般 - 脚本能用,但还有一些问题

§
发表于:2014-09-24

Drag links to new tabs/toolbars

Links become undraggable. Selected text from link, when dragged to tab-bar, opens search for this selected part of link.
Can you combine dragging of links (without text-selection) to new tabs/toolbars and selecting text in Opera style?

eight作者
§
发表于:2014-09-25

Actually this script just disabled link dragging. You can still drag link by holding Ctrl or Shift.

I had tried to detect that the user was dragging link or selecting text by calculating mouse move direction. But it seems that you can't stop dragging after dragging start. So it's pretty useless.

Also, Mozilla had implement opera's behavior in nightly build. Maybe it will come into Firefox in the future! https://bugzilla.mozilla.org/show_bug.cgi?id=378775

I'll try to find a workaround, but it will take some time.

eight作者
§
发表于:2014-09-29

Fixed at version 4.0

Now the script won't disable vertical dragging.

§
发表于:2014-09-30

Great job!! Thanks!

发表回复

登录(不可用)以发表回复。

长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元