Hacker Schoolers can use this bookmarklet to launch a simple name / picture matching game from behind the hackerschool.com login wall.
Just copy the code in bookmarklet.js
into a bookmark ( or paste the source into your console on http://recurse.com/private) and you're ready to go!
To automatically generate bookmarklet.js
whenever main.js is saved:
- Install Node.js
- Install npm packages including Grunt and it's supporting packages with
npm install
on cli - Run Grunt with
grunt watch
- Grunt will automatically regenerate the bookmarklet everytime main.js is saved
Note: Bookmarklet generation is a simple JS minification using the grunt-contrib-uglify (into dist.js
) and grunt-file-append (into bookmarklet.js
) plugins.