motiko / Lichess disable mousewheel move scroll

// ==UserScript==
// @name     Lichess disable mousewheel move scroll
// @version  1.0
// @grant    none
// @include https://lichess.org/*
// @license MIT
// ==/UserScript==

// ==OpenUserJS==
// @author motiko
// ==/OpenUserJS==

window.addEventListener('load', function() {
  document.getElementsByClassName('main-board')[0].addEventListener('wheel', function (event) {
      event.stopPropagation();
  }, true);
}, false);