After upgrading to APEX 4.0, the APEX Builder Plugin stopped working. I tried a quick and dirty approach, and updated the config files to look for button-elements instead of input-elements, but that did not work.
Enter Google Chrome
I've been using this browser on and off for some time, and it is incredibly fast compared to Firefox (even without add-ons, I checked). I did a bit of research (sounds better than a quick google search :-)), and found that Chrome supports Greasemonkey scripts natively. How nice! If only I had a Greasemonkey script that worked, that is...
So, I had to make my own. It's an absolute first try, so don't hold your breath. I have probably made any number of rookie mistakes, feel free to correct me :-)
Google Chrome understands and runs Greasemonkey scripts as add-ons (no install of Greasemonkey necessary). Chrome was my target after all.
APEX 4.0 Builder Hotkeys
This is nothing like the more sophisticated Builder Plugin from Patrick Wolf, I have only aimed at the dearly missed hotkeys (or shortcut keys if you will).
Hotkeys implemented so far:
- F8 - Run page
- F9 - Apply Changes
- Alt + F9 - Click the orange button
- Alt + PageUp - Click button named "<" or "< Previous"
- Alt + PageDown - Click button named ">" or "Next >"
Installation instructions for both Chrome and Firefox:
- Point browser to http://userscripts.org/scripts/show/81058
- Click green Install-button to the right
- Click Install in the dialog (In Chrome: Click Continue at the bottom of the page, and then Install in the dialog)
Firefox users have to install Greasemonkey before installing the script above. I have hosted the script at userscripts.org. Have a look around while you are there, the number of scripts (and the crazy things people do to web pages) is just staggering.
- Point the browser to chrome://extensions/
- Click Uninstall under the "Oracle APEX 4.0 Builder Hotkeys" extension.
- Right click the little monkey in the lower right corner of the window
- Choose Manage User Scripts
- Click "Oracle APEX 4.0 Builder Hotkeys" on the left
- Check "Also uninstall associated preferences"
- Click Uninstall
I had to revert to JQuery 1.3.2 to make it play nice with Greasemonkey. I know there are ways make it work for 1.4.x, but I am not using JQuery to it's full potential (only simple selectors and click-events). I didn't even bother trying. I also had to include the whole script to make it work with Chrome (no external references).
There might be some problems with namespacing and JQuery conflicts, but I have encountered none so far.
Feel free to modify the scripts, or to make enhancement requests (hey, I might even do something about them. It could happen! Really!)
So, will I retire Firefox now? Nope, Firebug, YSlow, WebDeveloper, etc. are all good reasons not to. I am not that comfortable with the Chrome developer tool.