Remove the ()
in the innerHTML()
.
It should be:
document.body.innerHTML = "some HTML";
Note that it is not a function. It is a property.
For example do this:
document.body.innerHTML = document.body.innerHTML.replace('Sorry, but you can only perform one search every 25 seconds. Please wait another 23 seconds before attempting to search again.', 'Press F5 or Reload the page now');