GitHubInstallerBookmarklet
This is a Javascript Bookmarklet to run Apex/Visualforce repositories against Andrew Fawcett’s GitHubInstaller tool. Many developers have made your life easier by including this cool button, with the appropriate link to Andy’s tool:
But some repos of useful Salesforce platform context don’t include the button, and this bookmarklet aims to fill the gap for them.
Drag this link:
onto your bookmarks bar, or into a bookmark folder. Now, when you are on a GitHub repository that doesn’t have the handy button on it, click the bookmark. The Javascript does a basic sanity check to make sure that you’re a) on GitHub, and b) on a repo with Apex in it. Then it redirects you to the GitHub Salesforce Deploy Tool, passing in the repo’s URL.
Tested and working on:
Windows 10 | macOS | Linux (Ubuntu) | |
---|---|---|---|
Chrome 58 | yes | ||
Firefox | no | no | no |
Safari 10 | n/a | yes | n/a |
IE11 | n/a | ||
Edge | n/a |
If you get it to work on some other combination, feel free to tweet at me, log an issue here, or submit a pull request.