WebViewStringChange block

I thougt it will also work without setting the WebViewString in the html file, similar to this blog.
https://community.appinventor.mit.edu/t/webviewer-javascript-is-delayed/30770/11
Does the WebViewStringChange Block accept an If Block?