Skip to content

Instantly share code, notes, and snippets.

View Amerr's full-sized avatar
🎯
Focusing

Amerrnath Murugan Amerr

🎯
Focusing
View GitHub Profile
@Amerr
Amerr / index.js
Last active June 17, 2020 19:54
Free Download customised icons from icons8.
// Capture id of the icons of https://icons8.com/ from a particular page or categories
// Code to run in chrome console
const ids = [];
document.querySelectorAll('a.icon-link').forEach((element) => {
const href = element.attributes.href.value
const [, id] = href.match(/\/([\d]+)\//);
ids.push[id];
});
// to copy array of ids in your system (in chrome console)