Skip to content

Instantly share code, notes, and snippets.

@giuseppeg
Last active May 12, 2016 08:57
Show Gist options
  • Save giuseppeg/2ffc933f6573cc997803462d59fea9b1 to your computer and use it in GitHub Desktop.
Save giuseppeg/2ffc933f6573cc997803462d59fea9b1 to your computer and use it in GitHub Desktop.
Looking for a job as front end dev? This script tells you if the current website matches your fav criteria
(strict, q) => {
eval(`!!q('[data-reactid], [data-reactroot], [class*="__"], [class*="--"]').length ${strict ? '&&' : '||'}
!q('[href=""], [href="#"], [href^="javascript"], link[src*="bootstrap.css"]').length &&
console.log('You may want to work here')`)
}(true, document.querySelectorAll.bind(document))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment