Select text inside a link like Opera

Disable link dragging and select text.

These are versions of this script where the code was updated. Show all versions.

  • v6.0.0 2020-01-15 Release v6.0.0
  • v5.0.4 2020-01-15 Breaking: always use movement tracker (#13)
  • v5.0.4 2019-12-22 Fix: don't initiate multiple instances, Release v5.0.4
  • v5.0.3 2019-06-06 Release v5.0.3
  • v5.0.1 2019-06-06 Fix: handle non-draggable links (#10) * Bump dependencies * Fix: uninit on double mouse down * Fix: handle non-draggable links
  • v5.0.1 2019-01-22 Release v5.0.1
  • v5.0.0 2019-01-22 Fix: compatible with XHTML/XML pages (#8) * Fix: doesn't work with xhtml * Fix: don't inject styles on xml * Fix: application/xml
  • v5.0.0 2019-01-20 Update version
  • v4.0.12 2019-01-20 Rewrite: initialize only when clicking on links (#5) * Add: work with node * test.html -> demo.html * Rewrite the script * Add: editorconfig
  • v4.0.12 2014-11-18 Synced from GitHub - Only prevent click if text is selected
  • v4.0.11 2014-11-18 Synced from GitHub - Merge branch 'master' of github.com:eight04/select-text-inside-a-link-like-opera Fix form button issue
  • v4.0.10 2014-11-17 Synced from GitHub - Use capture on mousedown
  • v4.0.9 2014-11-17 Synced from GitHub - Fix firefox clicking issue
  • v4.0.8 2014-11-17 Synced from GitHub - Fix responsive design view bug
  • v4.0.7 2014-11-17 Synced from GitHub - Add chrome support. But it acted weird cause chrome would only fire drag event if mouse move over a specific distance
  • v4.0.5 2014-11-10 Synced from GitHub - 4.0.5
  • v4.0.4 2014-10-30 Synced from GitHub - Fix dragging text bug
  • v4.0.3 2014-10-19 Synced from GitHub - Add a new method to detect dragging direction
  • v4.0.2 2014-10-19 Imported from URL
  • v4.0.1 2014-09-29 Synced from GitHub - fix position bug
  • v4.0 2014-09-29 Synced from GitHub - remove comment
  • v3.0.1 2014-08-17 Synced from GitHub - change the timing of uninit
  • v3.0 2014-08-16 Imported from URL
  • v2.0.6 2014-05-24
  • v2.0.4 2014-05-11