User:Leduyquang753/common.js

// Load other scripts. mw.loader.load('//minecraft.gamepedia.com/index.php?title=User:Leduyquang753/Gadget-protectionLocks.js&action=raw&ctype=text/javascript'); mw.loader.load('//minecraft.gamepedia.com/index.php?title=User:Leduyquang753/Gadget-customButtons.js&action=raw&ctype=text/javascript');

// Enable checkboxes and radio buttons' customizations. /* var list = document.getElementsByTagName("input");

for (i = 0; i < list.length; i++) { var element = list[i]; if (element.type === 'checkbox') element.insertAdjacentHTML('afterEnd', ' '); else if (element.type === 'radio') element.insertAdjacentHTML('afterEnd', ' '); }

delete(list);

// Inject reminder to turn off regex replacer before editing. var ldqElements = document.getElementsByClassName('mw-editnotice');

if (ldqElements.length > 0) { ldqElements[0].innerHTML = " "; }

delete(ldqElements)