|
|
Hello, I think it should be stated somewhere on this website what browsers and plugins support greasemonkey or at least a link to more information… It took me several minutes to find out that my browser, Opera, has support for it : http://www.opera.com/support/tutorials/userjs/e... Opera recognizes *.user.js and understands the specific greasemonkey syntax, including ==UserScript==. Thanks for the great website. |
|
|
understands the specific greasemonkey syntax No. Opera doesn't recognize Greasemonkey APIs. |
|
|
Opera supports userscripts (I might say something wrong, but they "introduced" the technology I think) but has a different javascript interpretor than firefox and as LouCypher says doesn't suppose GM APIs. Because of that, many userscripts made for Greasemonkey+Firefox will not be compatible (but you can still try). For the GM API problem, you can use this: http://userjs.org/scripts/browser/enhancements/... to simulate most of the functions, but it's not perfect (in particular, there is no cross site request possible). For the missing javascript:
|
|
|
Thank you for your complete information Mortimer :)
|
|
|
It really should be on Opera's site, I searched all over for info on this and found little more than what's in the link you posted. I mean, why would you expect Mozilla users to know anything about Opera? |
|
|
jesus2099, do you propose a notice or a sticky to indicate to new users what to expect from this site? Or would you suggest an FAQ section? Any ideas are welcome. -Joel |
|
|
I think one of the questions that should be asked is whether or not userscripts.org wants to host Opera user scripts. There could be a section for Opera UserJS scripts in addition to the Greasemonkey Compatible scripts. You could also provide a check box for Greasemonkey/Opera compatibility when a script is uploaded. I personally would like to see userscripts.org host this as the Opera site (http://userjs.org) is mostly dead. I also don't remember seeing anything on userscripts.org that states that the site is dedicated to Greasemonkey. While I don't think it would be a bad thing to only support Greasemonkey scripts, I think it should at least be made clear what the direction of the sit e is. |
|
|
I didn't remember seeing anything either, a while back when we discussed this before, but if you log out it does say:
This site is a repository to download and install Greasemonkey scripts. 'Nuf said. |
|
|
Ahh, haven't been logged out in a while. Perhaps a FAQ section would be best, or the modifications to include browser compatibility so that this site can be about user scripts as opposed to GM scripts. |
|
|
I don't mind making a GM Script Opera compatible if someone requested it, but someone needs to post more information than what is available on the Opera site. I know a little about this because I used to use Opera years ago when it didn't have full CSS and JavaScript support and I think there was an Opera news group where we discussed these issues. It was always annoying for me to find out something didn't work - like trying to replace embed with object and thinking I found a solution then I'd find out that Opera didn't support it correctly either.
|
|
|
If people are really serious about this, someone could make an Opera Compatibility Script, which would have to be run first, which would patch functions such that opera runs like firefox (as far as the scripts are concerned, that is). Naturally, it would be necessary to control the order of execution of Opera scripts, and I don't know enough to comment on that. -Joel |
|
|
I think if this becomes a popular subject that there should be a 5th topic, something like "Script compatibility; i.e. Opera, etc.". |
|
|
I thought of something else to add here, keeping to the subject, I think that one of two things can happen here... The site can be changed to add some kind of support for Opera User Javascripts - I suspect this won't happen anytime in the near future. Scriptwrights can go ahead and upload Opera scripts under the following conditions:
|
|
|
Mortimer said: Opera supports userscripts (I might say something wrong, but they "introduced" the technology I think) I would say that's wrong because Mozilla has had this ability since before Opera even had decent JavaScript support. It's just that Greasemonkey has not been around that long. You can even create User Chrome Scripts, which isn't anything new, just the extension is. |
|
|
Perhaps one of you intelligent people out there can just write a greasemonkey widget for Opera.
|
|
|
@spot. For you. |
![]() ![]() |
the most logical solution would be for userscripts.org to implement a method where authors can flat scripts for Opera compatibility. A simple icon system seems logical to me. wrong ? |
![]() ![]() |
Hey Dapxin, just use one of the existing tags: opera (or opera friendly). (\(\
|
![]() ![]() |
There's an Opera userscript group where you can do some discussion: |

