Skip to content

Instantly share code, notes, and snippets.

@pale2hall
Created April 20, 2023 15:16
Show Gist options
  • Save pale2hall/d7e7c07826c67c788cea697276fc55aa to your computer and use it in GitHub Desktop.
Save pale2hall/d7e7c07826c67c788cea697276fc55aa to your computer and use it in GitHub Desktop.
hide bought on eedistribution
javascript: (function() {
const orderedTables = document.querySelectorAll('img[src="https://www.eedistribution.com/images/sitewide/check_mark.jfif"]');
orderedTables.forEach(img => {
const table = img.closest('table[width="96%"]');
if (table) {
table.style.opacity = '0.3';
table.addEventListener('mouseover', () => table.style.opacity = '1');
table.addEventListener('mouseout', () => table.style.opacity = '0.3');
}
});
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment