Skip to content

Instantly share code, notes, and snippets.

Avatar

Neil Craig neilstuartcraig

View GitHub Profile
@neilstuartcraig
neilstuartcraig / wpt-preconnect-preload-script.js
Created Apr 14, 2020
WebPageTest preconnect/preload/... script
View wpt-preconnect-preload-script.js
// Stolen from: https://andydavies.me/blog/2019/08/07/experimenting-with-link-rel-equals-preconnect-using-custom-script-injection-in-webpagetest/
(function () {
var entries = [
{'href': 'https://nav.files.bbci.co.uk', 'rel': 'preconnect'},
{'href': 'https://nav.files.bbci.co.uk', 'rel': 'preconnect', 'crossOrigin': 'anonymous'}
];
var fragment = document.createDocumentFragment();
for(entry of entries) {
var link = document.createElement('link');
@neilstuartcraig
neilstuartcraig / tls1-blog-pt2-tls1-uas.md
Created Mar 2, 2020
User agents (parsed) which used TLS1.0 Feb 2020
View tls1-blog-pt2-tls1-uas.md
Operating system User Agent Percentage of TLS 1.0 usage
Unknown Unknown 38.02%
Android 4.2.2 Android Browser 4 2.54%
Windows 7 IE 7 2.30%
Android 4.4.4 Unknown 2.03%
Windows 7 IE 9 2.02%
Android 4.4.2 Android Browser 4 1.97%
Android 2.3.6 Android Browser 4 1.93%
Mac OS 10.11.6 Chrome 53 1.85%
@neilstuartcraig
neilstuartcraig / tls1-blog-pt2-gb-us.md
Last active Mar 2, 2020
TLS usage for GB and USA on www.bbc.co.uk and www.bbc.com Feb 2020 vs Nov 2018
View tls1-blog-pt2-gb-us.md
Country Num requests (Nov. 2018) % TLS 1.0 (Nov. 2018) Num requests (Feb. 2020) % TLS 1.0 (Feb. 2020) % reduction
Great Britain 23,778,043 1.43% 9,288,530 0.71% 51%
USA 2,373,620 1.47% 1,557,219 0.40% 72%
@neilstuartcraig
neilstuartcraig / tls1-blog-pt2-tls1-countries.md
Last active Mar 2, 2020
Percentage of HTTPS requests which used TLS1.0 in Feb 2020 for countries with >= 10k HTTPS requests over 3 days
View tls1-blog-pt2-tls1-countries.md
Country Num requests (Nov. 2018) % TLS 1.0 (Nov. 2018) Num requests (Feb 2020) % TLS 1.0 (Feb 2020) % reduction
Bosnia and Herzegovina 35,031 100.00% 418,582 0.90% 99.10%
China 2,261,506 86.93% 2,549,943 19.79% 77.24%
Montenegro 28,712 48.74% 193,059 0.61% 98.76%
Croatia 113,948 43.75% 1,210,262 7.79% 82.19%
Uganda 150,225 34.48% 1,619,262 6.22% 81.95%
Honduras 97,644 29.55% 916,586 6.77% 77.10%
Ethiopia 180,473 26.04% 2,186,672 6.67% 74.38%
Democratic Republic of the Congo 12,775 25.67% 138,347 3.80% 85.20%
@neilstuartcraig
neilstuartcraig / tls1-blog-pt2-new-tls1-countries.md
Last active Mar 2, 2020
Top 10 countries (Feb 2020) for % usage of TLS1.0
View tls1-blog-pt2-new-tls1-countries.md
Country Number of requests Percentage of TLS 1.0 usage
United States Minor Outlying Islands 389,725,509. 100.00%
Antarctica 4,979,351 100.00%
Kosovo 276,524 100.00%
Niue 12,758,637 100.00%
American Samoa 5,063,507 100.00%
Christmas Island 1,633,591 100.00%
Mayotte 8,590,803 100.00%
Svalbard and Jan Mayen 998,549 99.99%
View tls1-blog-pt2-global-non-gtm.md
TLS Version Number of requests Percentage
TLSv1.2 712,028,269 99.35%
TLSv1.1 400,971 0.03%
TLSv1.0 4,284,627 0.60%
@neilstuartcraig
neilstuartcraig / tls1-blog-pt2-global-gtm.md
Last active Mar 2, 2020
TLS usage on www.bbc.co.uk and www.bbc.com, 24-27th Feb 2020 (GTM only)
View tls1-blog-pt2-global-gtm.md
TLS Version Number of requests Percentage
TLSv1.3 1,163,496,361 69.07%
TLSv1.2 506,655,701 30.08%
TLSv1.1 500,971 0.03%
TLSv1.0 13,879,940 0.82%
View tls1-blog-pt2-global.md
TLS Version Number of requests Percentage
TLSv1.3 1,163,496,361 48.45%
TLSv1.2 1,218,683,970 50.75%
TLSv1.1 901,942 0.04%
TLSv1.0 18,164,567 0.76%
@neilstuartcraig
neilstuartcraig / tls1-blog-ba-uas.md
Created Nov 20, 2018
20 most popular user agents from Bosnia and Herzegovina negotiating TLS 1.0 on www.bbc.co.uk and www.bbc.com
View tls1-blog-ba-uas.md
User Agent Browser/OS Number of requests
Mozilla/6.0 (Windows NT 6.2; WOW64; rv:16.0.1) Gecko/20121011 Firefox/16.0.1 Firefox 16 / Windows 8 18,137
Mozilla/5.0 (compatible; Genieo/1.0 http://www.genieo.com/webfilter.html) Firefox / Genio search addon 1,344
Mozilla/5.0 (Windows; U; MSIE 9.0; Windows NT 9.0; en-US) IE 9 / Windows ? 1,251
Mozilla/5.0 (Windows NT 6.2; WOW64) A
@neilstuartcraig
neilstuartcraig / tls1-blog-uas-global.md
Created Nov 20, 2018
Global most popular 20 (from over 90,000) user agents negotiating TLS 1.0 on www.bbc.co.uk and www.bbc.com
View tls1-blog-uas-global.md
User Agent Browser/OS Number of requests
Mozilla/5.0 (Windows NT 6.1; rv:26.0) Gecko/20100101 Firefox/26.0 Firefox 26 / Windows 7 2,243,786
CITRIXRECEIVER Citrix receiver 1,762,744
Nokia6280/2.0 (03.60) Profile/MIDP-2.0 Configuration/CLDC-1.1