p3lim/dotjs-universal — pull request #7 by johan (2014-04-28 08:53:41+00:00)
Title: Fixes to work in current Chrome Canary

This PR may be much more opinionated than you want to merge, but I figure you can always push back and I'll make a smaller one (or multiple separate ones, if you like). Contents:

* made `default.js` be guaranteed to run before your per-site js, rather than after it (better for library code)
* made `dotjs.js` self-contained (the jQuery ajax for some reason didn't work in a bleeding edge Chrome
* only run per-site scripts in top-level frames (technically limits what you can do, but nukes debugging the mess it can be with console errors from sites that serve both iframe components and top-level-pages from the same domain where you have scripts only equipped to handle the latter case gracefully)
* include [lodash](http://lodash.com/) as a crutch for writing cleaner code with ease
* include [on.js](http://git.io/on.js) for ease of separating page eating and business logic in scripts ([TL;DR](http://tldr.io/tldrs/50b83d18ada40f0817000897/on-js-a-micro-library-4k-minified-for-drying-up-the-boring-boilerplate-of-user-scripts))
* `.gitignore` files, both to create the `scripts` and `styles` directories, and block scripts in either from accidentally getting committed here
* version bump to `1.6.0`