Created
February 16, 2017 09:06
-
-
Save ioncodes/e474d175e1143ae0f592a83440ec814d to your computer and use it in GitHub Desktop.
Scrapes icons from http://vorillaz.github.io/devicons/#/cheat
This file contains hidden or 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 devIcons = document.getElementsByClassName('devicons'); | |
var icons = []; | |
for(var i = 0; i < devIcons.length; i++) { | |
if(i%5 === 0) { | |
icons.push(devIcons[i].className.split(' ').pop()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment