Answers for "JavaScript check if web page text contains a word"

0

JavaScript check if web page text contains a word

if (
  (
    document.documentElement.textContent || document.documentElement.innerText
  ).indexOf('Done successfuly') > -1
) {
  // Do something...
}
Posted by: Guest on October-30-2020

Code answers related to "JavaScript check if web page text contains a word"

Code answers related to "Javascript"

Browse Popular Code Answers by Language