NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Hide classification // @author hamzehma // @version 1.6 // @run-at document-body // @match https://argus.aka.amazon.com/* // @include https://argus.aka.amazon.com/* // @license MIT // @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js // @require https://gist.github.com/raw/2625891/waitForKeyElements.js // ==/UserScript== function disableButtons() { const startClassification= document.querySelector(".submit-product-card-classification"); const upButton= document.getElementById("dtQuickCodesUp"); const ucButton= document.getElementById("dtQuickCodesUc"); startClassification.disabled = true upButton.disabled = true ucButton.disabled = true const openAll= document.querySelector('[aria-label="Open All"]'); openAll.addEventListener("click",enableButtons,false) }; function enableButtons() { const startClassification= document.querySelector(".submit-product-card-classification"); const upButton= document.getElementById("dtQuickCodesUp"); const ucButton= document.getElementById("dtQuickCodesUc"); startClassification.disabled = false upButton.disabled = false ucButton.disabled = false } var url = window.location.href; var isArgusDG = 'https://argus.aka.amazon.com/*' if (isArgusDG) { waitForKeyElements(".submit-product-card-classification", disableButtons); } else { }