Last active
June 24, 2019 17:10
-
-
Save SukkaW/9a16f945ee00578e20e685d644dfd6c2 to your computer and use it in GitHub Desktop.
How many Cloudflare Data Centers are there in Cloudflare Statuspage?
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
var $el = document.querySelectorAll('.component-inner-container .name'); | |
var $num = 0; | |
for (var i of $el) { | |
if (i.innerHTML.indexOf(' - (') > -1) $num++; | |
} | |
console.log($num); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment