Disable mouse wheel click

Hello,

How to disable the middle mouse click.

Looking forward to your response.

7 answers

  • Votes
  • Date
  • Descending date
  1. Contributor
    Hello,
    On your website or on your PC?

    --
    Your solution can be found on Google / Bing / Yahoo (CCM - High Tech), at the vet (L'internaute - Animals), in your bookstore (L'internaute - Books)
    1. Contributor
      Hello,

      The scroll wheel click is generally a shortcut to replace right click + open a new tab. Is that the action you want to block?

      --
      Your solution can be found on Google / Bing / Yahoo (CCM - High Tech), at the vet (L'internaute - Animals), in your bookstore (L'internaute - Books)
      1. Sure for the link,

        But it's in Jquery, how to use it?
        1. Contributor
          Below is the solution in js without jQuery.
          document.attachEvent etc.
      2. Okay, I placed the script in the Head, but no effect?

        Do I need to call it somewhere?
        1. Contributor
          Did you put the code in js tags?
          Which browser did you try it on? Do you have a code list for each browser?

          If you've checked all that, try placing the script at the end of your HTML code (still within js tags).
      3. Hello,
        - Yes, code in JS tags
        - Yes, the code for IE
        - Yes, tested the code in various places

        Obsessed with the roulette click, I hadn't noticed, but the script
        has one action: Stop the roulette action for the scroll.

        We're getting closer to the solution but the issue remains.