Select text inside a link like Opera

Disable link dragging and select text.

Voici les versions de ce script où le code a été modifié. Voir toutes les versions.

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