add function check for detecting content_script injection.