Skip to content

Instantly share code, notes, and snippets.

@ymkjp
Created December 6, 2018 09:47
Show Gist options
  • Save ymkjp/8ca94372ca0b020566c3df2547960e7b to your computer and use it in GitHub Desktop.
Save ymkjp/8ca94372ca0b020566c3df2547960e7b to your computer and use it in GitHub Desktop.
;[].forEach.call(document.getElementsByClassName('yt-uix-form-input-textarea'), elm=> {
elm.value = elm.value.replace(/\s+/g, '')
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment