Select text inside a link like Opera

Disable link dragging and select text.

< Обсуждения: Select text inside a link like Opera

Отзыв: Нормальный — скрипт работает, но имеет существенные недостатки

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Автор
§
Создано: 25.09.2014

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Автор
§
Создано: 29.09.2014

Fixed at version 4.0

Now the script won't disable vertical dragging.

Great job!! Thanks!

Ответить

Войдите, чтобы ответить.

长期地址
遇到问题?请前往 GitHub 提 Issues。