'Plugin entry point, verify if the HTML has <script> tags with src
pointing to external+insecure domains.
:param request: The HTTP request object.
:param response: The HTTP response object
:return: None'

def grep(self, request, response):

    if (not response.is_text_or_html()):
        return
    for tag in mp_doc_parser.get_tags_by_filter(response, ('script',)):
        script_src = tag.attrib.get('src', None)
        if (script_src is None):
            continue
        try:
            script_full_url = response.get_url().url_join(script_src)
        except ValueError:
            msg = 'Invalid    URL    found    by    cross_domain_js:    "%s"'
            om.out.debug((msg % script_src))
            continue
        self._analyze_domain(response, script_full_url, tag)
