Hide Quick Ref Checkboxes

Hide checkboxes on GC Quick Ref for faster scrolling/sorting.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Hide Quick Ref Checkboxes
// @namespace    https://greasyfork.org/en/users/1175371/
// @version      0.1
// @author       sanjix
// @description  Hide checkboxes on GC Quick Ref for faster scrolling/sorting.
// @match        https://www.grundos.cafe/quickref/adjustposition/
// @icon         https://www.google.com/s2/favicons?sz=64&domain=grundos.cafe
// @grant        none
// @license      MIT
// ==/UserScript==

var checkInputs = document.querySelectorAll('#transferPet > div > label');
var checksToggle = document.createElement('button');
checksToggle.textContent = 'Toggle Checkboxes';
checksToggle.style.display = 'block';
checksToggle.style.margin = '0 auto';

checksToggle.addEventListener('click', () => {
	checkInputs.forEach((el) => {
		if (el.style.display == '' || el.style.display == 'flex') {
		el.style.display = 'none';
		} else {
			el.style.display = 'flex';
		}
	});
});

var sort = document.querySelector('main > div');
sort.after(checksToggle);