Skip to content

Instantly share code, notes, and snippets.

@lukeeey
Created March 2, 2018 18:13
Show Gist options
  • Save lukeeey/7756952682690f3adcc8b84e3e84c66a to your computer and use it in GitHub Desktop.
Save lukeeey/7756952682690f3adcc8b84e3e84c66a to your computer and use it in GitHub Desktop.

Browser stats

POST https://api.github.com/_private/browser/stats HTTP/1.1
Host: api.github.com
Connection: keep-alive
Content-Length: 6920
Origin: https://gist.github.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36
Content-Type: application/json
Accept: /
DNT: 1
Referer: https://gist.github.com/
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9

{"stats":[{"features":{"beacon":true,"classlist":true,"classlistMultiArg":true,"closest":true,"customElements":true,"customEvent":true,"fetch":true,"highResolutionTime":true,"matchesSelector":true,"promises":true,"stringEndsWith":true,"stringStartsWith":true,"timezone":true,"url":true,"urlSearchParams":true,"userTimingEntries":true,"userTimingMark":true,"weakmap":true}},{"resourceTimings":[{"initiatorType":"link","nextHopProtocol":"http/1.1","workerStart":0,"redirectStart":0,"redirectEnd":0,"fetchStart":1166.9999999999163,"domainLookupStart":1166.9999999999163,"domainLookupEnd":1166.9999999999163,"connectStart":1166.9999999999163,"connectEnd":1166.9999999999163,"secureConnectionStart":0,"requestStart":1348.5000000000582,"responseStart":1354.4999999999163,"responseEnd":1525.000000000091,"transferSize":0,"encodedBodySize":22608,"decodedBodySize":111405,"name":"https://assets-cdn.github.com/assets/frameworks-a4bf54bef6fb.css","entryType":"resource","startTime":1166.9999999999163,"duration":358.0000000001746},{"initiatorType":"link","nextHopProtocol":"http/1.1","workerStart":0,"redirectStart":0,"redirectEnd":0,"fetchStart":1167.9999999996653,"domainLookupStart":1167.9999999996653,"domainLookupEnd":1167.9999999996653,"connectStart":1167.9999999996653,"connectEnd":1167.9999999996653,"secureConnectionStart":0,"requestStart":1369.499999999789,"responseStart":1383.4999999999127,"responseEnd":1572.9999999998654,"transferSize":0,"encodedBodySize":2436,"decodedBodySize":8332,"name":"https://assets-cdn.github.com/assets/gist-94e92bfbe232.css","entryType":"resource","startTime":1167.9999999996653,"duration":405.0000000002001},{"initiatorType":"link","nextHopProtocol":"http/1.1","workerStart":0,"redirectStart":0,"redirectEnd":0,"fetchStart":1167.9999999996653,"domainLookupStart":1167.9999999996653,"domainLookupEnd":1167.9999999996653,"connectStart":1167.9999999996653,"connectEnd":1167.9999999996653,"secureConnectionStart":0,"requestStart":1365.4999999998836,"responseStart":1382.499999999709,"responseEnd":1570.9999999999127,"transferSize":0,"encodedBodySize":93316,"decodedBodySize":398822,"name":"https://assets-cdn.github.com/assets/github-ff942f0a548a.css","entryType":"resource","startTime":1167.9999999996653,"duration":403.0000000002474},{"initiatorType":"img","nextHopProtocol":"http/1.1","workerStart":0,"redirectStart":0,"redirectEnd":0,"fetchStart":1223.9999999997053,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"secureConnectionStart":0,"requestStart":0,"responseStart":0,"responseEnd":1223.9999999997053,"transferSize":0,"encodedBodySize":0,"decodedBodySize":0,"name":"https://avatars0.githubusercontent.com/u/32024335?s=40&v=4","entryType":"resource","startTime":1223.9999999997053,"duration":0},{"initiatorType":"img","nextHopProtocol":"http/1.1","workerStart":0,"redirectStart":0,"redirectEnd":0,"fetchStart":1223.9999999997053,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"secureConnectionStart":0,"requestStart":0,"responseStart":0,"responseEnd":1920.9999999998217,"transferSize":0,"encodedBodySize":0,"decodedBodySize":0,"name":"https://avatars3.githubusercontent.com/u/32024335?s=60&v=4","entryType":"resource","startTime":1223.9999999997053,"duration":697.0000000001164},{"initiatorType":"script","nextHopProtocol":"http/1.1","workerStart":0,"redirectStart":0,"redirectEnd":0,"fetchStart":1248.0000000000473,"domainLookupStart":1248.0000000000473,"domainLookupEnd":1248.0000000000473,"connectStart":1248.0000000000473,"connectEnd":1248.0000000000473,"secureConnectionStart":0,"requestStart":1248.0000000000473,"responseStart":1248.0000000000473,"responseEnd":1248.0000000000473,"transferSize":0,"encodedBodySize":101125,"decodedBodySize":293845,"name":"https://assets-cdn.github.com/assets/frameworks-f217e4b39d2f.js","entryType":"resource","startTime":1248.0000000000473,"duration":0},{"initiatorType":"script","nextHopProtocol":"http/1.1","workerStart":0,"redirectStart":0,"redirectEnd":0,"fetchStart":1248.0000000000473,"domainLookupStart":1248.0000000000473,"domainLookupEnd":1248.0000000000473,"connectStart":1248.0000000000473,"connectEnd":1248.0000000000473,"secureConnectionStart":0,"requestStart":1519.9999999999818,"responseStart":1576.9999999997708,"responseEnd":1659.0000000001055,"transferSize":0,"encodedBodySize":145856,"decodedBodySize":498181,"name":"https://assets-cdn.github.com/assets/github-99bbece12eb1.js","entryType":"resource","startTime":1248.0000000000473,"duration":411.0000000000582},{"initiatorType":"img","nextHopProtocol":"http/1.1","workerStart":0,"redirectStart":0,"redirectEnd":0,"fetchStart":3246.9999999998436,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"secureConnectionStart":0,"requestStart":0,"responseStart":0,"responseEnd":3478.0000000000655,"transferSize":0,"encodedBodySize":0,"decodedBodySize":0,"name":"https://collector.githubapp.com/gist/page_view?dimensions[page]=https%3A%2F%2Fgist.github.com%2Flukeeey&dimensions[title]=lukeeey%E2%80%99s%20gists&dimensions[referrer]=https%3A%2F%2Fgist.github.com%2Flukeeey%2F9ef8d8a243a693ba4a873738186d6548&dimensions[user_agent]=Mozilla%2F5.0%20(Windows%20NT%2010.0%3B%20Win64%3B%20x64)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F64.0.3282.186%20Safari%2F537.36&dimensions[screen_resolution]=1600x900&dimensions[pixel_ratio]=1&dimensions[browser_resolution]=1600x769&dimensions[tz_seconds]=0&dimensions[timestamp]=1520013902269&dimensions[request_id]=C0FD%3A69B5%3A22668F3%3A42CA40E%3A5A99923E&dimensions[region_edge]=iad&dimensions[region_render]=iad&&measures[performance_timing]=1-19-19--2896-2879-2879-1137-19-19-19---0---32-1045-1014--1050-1050&&dimensions[actor_id]=32024335&dimensions[actor_login]=lukeeey&dimensions[actor_hash]=e16cc98097b0d3da2941256fd4eac73be379b1c8ff294aed858102b41aa23459&dimensions[cid]=1024727636.1519149162","entryType":"resource","startTime":3246.9999999998436,"duration":231.00000000022192}]},{"navigationTimings":[{"unloadEventStart":1049.9999999997272,"unloadEventEnd":1049.9999999997272,"domInteractive":2878.9999999999054,"domContentLoadedEventStart":2878.9999999999054,"domContentLoadedEventEnd":2895.999999999731,"domComplete":3489.0000000000327,"loadEventStart":3489.0000000000327,"loadEventEnd":3491.9999999997344,"type":"navigate","redirectCount":0,"initiatorType":"navigation","nextHopProtocol":"http/1.1","workerStart":0,"redirectStart":0,"redirectEnd":0,"fetchStart":18.999999999778083,"domainLookupStart":18.999999999778083,"domainLookupEnd":18.999999999778083,"connectStart":18.999999999778083,"connectEnd":18.999999999778083,"secureConnectionStart":0,"requestStart":31.999999999698048,"responseStart":1013.999999999669,"responseEnd":1045.0000000000728,"transferSize":14465,"encodedBodySize":12352,"decodedBodySize":59422,"name":"https://gist.github.com/lukeeey","entryType":"navigation","startTime":0,"duration":3491.9999999997344}]}]}

Detect language (gist)

GET https://gist.github.com/detect_language?filename=3ds-captures. HTTP/1.1
Host: gist.github.com
Connection: keep-alive
Accept: application/json
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36
DNT: 1
Referer: https://gist.github.com/
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Cookie: _octo=GH1.1.1024727636.1519149162; _ga=GA1.2.1996644203.1519149163; logged_in=yes; dotcom_user=lukeeey; gist_user_session=4NoETEmXveRFtFkoNtUjtzobpA6niiXecmwl-hbLSdf9P0Uy; __Host-gist_user_session_same_site=4NoETEmXveRFtFkoNtUjtzobpA6niiXecmwl-hbLSdf9P0Uy; tz=Europe%2FLondon; _gat=1; _gh_sess=eyJzZXNzaW9uX2lkIjoiZjQ2N2ZmNDk5ZTU0ODk1ZGQxZWFjZWI2ODg2ZWJjYjEiLCJsYXN0X3JlYWRfZnJvbV9yZXBsaWNhcyI6MTUyMDAxMzkwODk5MywibGFzdF93cml0ZSI6MTUyMDAxMzg4NTkwMn0%3D--1062a5030e86f264c694ad6c21833cfaf0919c07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment