remove cookie button

this thing is actually annoying

  1. // ==UserScript==
  2. // @name remove cookie button
  3. // @namespace -
  4. // @version 1.1
  5. // @description this thing is actually annoying
  6. // @author Stew
  7. // @include *://moomoo.io/*
  8. // @include *://sandbox.moomoo.io/*
  9. // @include *://dev.moomoo.io/*
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. ! function () {
  14. "use strict";
  15. setInterval(() => {
  16. document.getElementById("onetrust-consent-sdk") && "complete" == document.readyState && document.getElementById("onetrust-consent-sdk").remove()
  17. }, 100)
  18. }();