Skip to content

Instantly share code, notes, and snippets.

@WhoAteDaCake
Created November 26, 2018 16:44
Show Gist options
  • Save WhoAteDaCake/5b251d9a01b14b0a9d409f9755c4c1e7 to your computer and use it in GitHub Desktop.
Save WhoAteDaCake/5b251d9a01b14b0a9d409f9755c4c1e7 to your computer and use it in GitHub Desktop.
Removes all non object docs from ramda docs website
Array.from(document.getElementsByClassName('func')).map(elem => {
if (elem.dataset.category !== 'Object') {
elem.parentNode.removeChild(elem)
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment