Skip to content

Commit

Permalink
Tidy up the README a little by moving changelog to it's own section.
Browse files Browse the repository at this point in the history
  • Loading branch information
djl committed Nov 11, 2011
1 parent bf0f417 commit 00c23bd
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions README.md
Expand Up @@ -5,19 +5,13 @@ This is a Firefox Add-on port of defunkt's Chrome extension <https://github.com/

dotjs is a Firefox Add-on that executes JavaScript files in `~/.js` based on their filename and the domain of the site you are visiting.

If you navigate to `http://www.google.com/`, dotjs will execute `~/.js/google.com.js`.
If you navigate to `http://www.google.com/`, dotjs will execute `~/.js/google.com.js`.
If you have a `~/.js/default.js`, it will execute on every page you visit.

This makes it super easy to spruce up your favorite pages using JavaScript.

Bonus: files in `~/.js` have jQuery 1.6.1 loaded, regardless of whether the site you're hacking uses jQuery.

New in v0.7: CoffeeScript support! `~/.js/example.com.coffee` gets transpiled to JavaScript and executed.

New in v0.8: Windows support! Put your scripts in a `js` folder under your home directory (`C:\Users\<username>\js\.` in Windows 7).

New in v0.9: CSS support! Put site specific .css files in `~/.css` (`C:\Users\<username>\css\.` in Windows 7). `default.css` loads in all sites.

GreaseMonkey user scripts are great, but you need to publish them somewhere and re-publish after making modifications. With dotjs, just add or edit files in `~/.js`.

## Example
Expand Down Expand Up @@ -49,6 +43,15 @@ GreaseMonkey user scripts are great, but you need to publish them somewhere and
- djl: <https://github.com/djl>
- tdolsen: <https://github.com/tdolsen>


## Changelog

v0.9: CSS support! Put site specific .css files in `~/.css` (`C:\Users\<username>\css\.` in Windows 7). `default.css` loads in all sites.

v0.8: Windows support! Put your scripts in a `js` folder under your home directory (`C:\Users\<username>\js\.` in Windows 7).

v0.7: CoffeeScript support! `~/.js/example.com.coffee` gets transpiled to JavaScript and executed.

## Credits

- defunkt: <https://github.com/defunkt/dotjs>
Expand Down

0 comments on commit 00c23bd

Please sign in to comment.