def _script_to_har_entry(cls, script, url):
        ''' Return entry for embed script '''
        entry = {
            'request': {'url': url},
            'response': {'url': url, 'content': {'text': script}}
        }

        cls._set_entry_type(entry, INLINE_SCRIPT_ENTRY)

        return entry
Return entry for embed script