Created
February 15, 2024 20:22
-
-
Save kampar/3c7608ae62667a835bc3cec46430a5cd to your computer and use it in GitHub Desktop.
console untuk buka semua KRS mahasiswa, enable dulu popup ya ...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const buttonsWithAttribute = document.querySelectorAll('button[data-title="BELUM ACC"]'); | |
buttonsWithAttribute.forEach(button => { | |
const href = button.getAttribute('href'); | |
window.open(href,'_blank'); // Logs the href attribute value for each button | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment