-
-
Save inexorabletash/471d674259cb96f0f9ca363b7e533c70 to your computer and use it in GitHub Desktop.
HTTPArchive JS Usage Query
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT page, url FROM ( | |
SELECT | |
page, | |
url, | |
JSON_EXTRACT(payload, '$._body') AS hasBody, | |
JSON_EXTRACT(payload, '$._contentType') AS contentType, | |
JSON_EXTRACT(payload, '$.response.content.text') AS content | |
FROM [httparchive:har.chrome_feb_1_2016_requests] | |
) | |
WHERE hasBody = 'true' | |
AND (contentType CONTAINS 'html' OR contentType CONTAINS 'javascript') | |
AND content CONTAINS 'webkitFoo' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment