Created
March 4, 2024 22:05
-
-
Save PaulSebalu/6e0a70beae641a5b76a943bd871ed77e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
window.onload = function() { | |
console.log('window.onload event fired'); | |
// Find the button by data-pp-command attribute | |
var button = document.querySelector('[data-pp-command="instructForm"]'); | |
// Check if the button is found | |
if (button) { | |
// Modify the button label | |
button.innerText = 'Instruct'; // Replace 'New Button Label' with your desired label | |
} else { | |
console.error('Button not found'); | |
} | |
}(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment