Sunday, June 24, 2007 9:05:29 PM
Jasper de Vries made a Greasemonkey script, which Mihai Parparita have enhanced. I have ported it to Opera.
The port included the following changes:
- Use an 'add-style' method that works for Opera, instead of Greasemonkey's GM_addStyle.
- Let the 'unsubscribed'-image be inline data just as the 'subscribed'-image, instead of being taken from the firefox chrome.
- Remove references to the Gecko CSS extension -moz-border-radius.
- And the most difficult: replace GM_xmlhttpRequest with something that works in Opera. In this case the method is used to send xmlHttpRequest calls to Google Reader to check wether or not the user is already subscribing to the feed. I found the solution in a forum post here at My Opera.
In order for you to make this work you need three scripts in your userscrips folder:
You can download the scripts in a zip-file. Information about installation can be found at userjs.org.
Monday, April 23, 2007 9:48:38 PM
(Originally posted at lefdal.cc
The original GMail Macros
script is written as an Greasemonkey
extension for Firefox by Mihai Parparita
. I have ported to it Opera to be used as a user script
and press 'h' to see the list of available keyboard shortcuts. See also Mihai's original blog post
for details about the functionality.
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.Download
it, and send me