None of these solutions worked for me because it’s too much code.
I use a custom jQuery implementation to do the drag, and adding this line in the mousedown
handler did the trick for me in Chrome.
e.originalEvent.preventDefault();
More Related Contents:
- How to wait until an element exists?
- Chrome doesn’t delete session cookies
- How do I load an HTML page in a div using JavaScript?
- Chrome desktop notification example [closed]
- How does the paste image from clipboard functionality work in Gmail and Google Chrome 12+?
- How to use jQuery in chrome extension?
- “Uncaught TypeError: a.indexOf is not a function” error when opening new foundation project
- Chrome extension: How to save a file on disk
- How to getting browser current locale preference using javascript?
- getUserMedia() in chrome 47 without using https
- Chrome Extension: Make it run every page load
- \u200b (Zero width space) characters in my JS code. Where did they come from?
- saving and retrieving from chrome.storage.sync
- Animated gif only loops once in Chrome and Firefox
- Completely lost on how to save extension popup window content
- Chrome – Fetch API cannot load file. How to workaround?
- Is there a way to uniquely identify an iframe that the content script runs in for my Chrome extension?
- Extract the text out of HTML string using JavaScript
- Sending message to background script
- Resource interpreted as Script but transferred with MIME type text/plain – for local file
- Can’t find serviceWorker in navigator anymore
- Chrome Speech Synthesis with longer texts
- Javascript window.print() in chrome, closing new window or tab instead of cancelling print leaves javascript blocked in parent window
- Re-enabling window.alert in Chrome
- iframe not reading cookies in Chrome
- Keycode is always zero in Chrome for Android
- Disable chrome react DevTools for production
- Record voice from IPhone using HTML5
- How to use “segments” mode at SourceBuffer of MediaSource to render same result at Chomium, Chorme and Firefox?
- Chrome developer tools do not show all JavaScript files any more