Skip to content

Instantly share code, notes, and snippets.

@laurenclark
Created January 25, 2022 09:48
Show Gist options
  • Save laurenclark/877ecc1d1baac7356688cd23ba5e4aea to your computer and use it in GitHub Desktop.
Save laurenclark/877ecc1d1baac7356688cd23ba5e4aea to your computer and use it in GitHub Desktop.
Deal with annoying job applications in the hope of humanising tech recruitment.
const textInputs = document.querySelectorAll('input[type=text]');
const emailInputs = document.querySelectorAll('input[type=email]');
const allInputs = [...textInputs, ...emailInputs];
const textAreas = document.querySelectorAll('textarea');
for (let i = 0; i < allInputs.length; i++) {
allInputs[i].value = "Read my CV!"
}
for (let i = 0; i < textAreas.length; i++) {
textAreas[i].value = "Talk to me!"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment