The project is no longer maintained and left here for historical reasons.
Since GitHub is evolving at a steady pace and updating the script would require a regular effort, and since I use GitHub way less often than before, I will no longer maintain the script for now.
However, see instead: https://github.com/sindresorhus/refined-github
Github Assistant is a UserScript, i.e. a piece of JavaScript code, that runs in your browser on Github pages to enhance your code review experience:
Works on /commit
, /pull
, /compare
pages.
You can configure all the options right from the config dialog in the browser.
Scroll to the bottom of any pull request and you will see a number of buttons added by the script.
Firefox, Chrome (should work on any reasonably modern version), Opera 12.
Launch the following addresses to configure the browser: set the directory on your disk where to store UserScripts, and activate UserScripts on HTTPS (GitHub is served via HTTPS):
opera:config#UserPrefs|UserJavaScriptFile
opera:config#UserPrefs|UserJavaScriptonHTTPS
Download the ghAssistant.user.js and put it in the UserScripts folder declared above.
Restart the browser.
The userscript has an URL to this GitHub repo in its metadata. Hence in Firefox and Chrome you can benefit from easy updates.
Go to about:addons
(or Tools > Addons
from Firefox menu, or Ctrl+Shift+A
from keyboard) to GreaseMonkey tab.
Right click on the entry and choose "Find updates".
If you opted in to have automatic updates in Firefox, the same setting will also apply to GreaseMonkey which will periodically automatically check for updates of UserScripts.
Open Tampermonkey menu > Options
. Select the entry and choose "Trigger an update" from the dropdown.
Tampermonkey also checks for UserScripts updates periodically (configurable in extension's settings; default is 12h).
AFAIK you'll have to do it manually.
Navigate to some of the /commit, /pull, or /compare URL on Github. The longer the diff, the better you'll see the advantages of the script.
Example: ariatemplates # pull 427
Spread the word and and star this repo on GitHub. Fork it and submit patches if you found bugs.
You may also like some other of my userscripts:
See them on Github or Userscripts.org
Author's homepage: jakub-g.github.io
This extension was developed using the following Firefox extensions:
Credits to all the respective authors.