Bunpro: Remove Undo Button

Disables the undo functionality in reviews

  1. // ==UserScript==
  2. // @name Bunpro: Remove Undo Button
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0.0
  5. // @description Disables the undo functionality in reviews
  6. // @author Kumirei
  7. // @include *bunpro.jp/*
  8. // @exclude *community.bunpro.jp*
  9. // @require https://greasyfork.org/scripts/5392-waitforkeyelements/code/WaitForKeyElements.js?version=115012
  10. // @require https://greasyfork.org/scripts/370623-bunpro-helpful-events/code/Bunpro:%20Helpful%20Events.js?version=615700
  11. // @grant none
  12. // ==/UserScript==
  13. /*jshint esversion: 8 */
  14.  
  15. (function() {
  16. var $ = window.$;
  17. $('html')[0].addEventListener('quiz-page', ()=>{
  18. $('.oops-button').remove();
  19. });
  20. })();