Finally I am able to switch back to Opera as my main browser. Now that Opera has content blocker and web developer tools, the only thing that have been missing was GMail Macros.
What I have done is to remove and change Greasemonkey specific code in the original script.
- All references to the ‘unsafeWindow’ object has been changed to ‘window’.
- The reference to GM_addStyle has been changed so that it works for other browsers as well, including Opera of course.
- The reference to style.MozOpacity has been changed to style.opacity.
It works like in Firefox, which means there are still some issues related to focus. If “the keyboard does not work”, then click somewhere inside the window.
As far as I know the original script is released under a BSD license, which means that so are my modifications.