Monday, June 27, 2005

Will there ever be another Greasemonkey version?

Short answer: yes

Slightly longer answer: sometime soon. Jeremy and I have been working on a refactor of Greasemonkey that we hope will make it easier to maintain and to add features to.

This was mostly my idea, Jeremy just wanted to get the next version out. So blame me, I am weak :-). I just got tired of looking at the really, really bad "my-first-extension" Greasemonkey codebase.

What you'll get out of the deal:

  • A "new" button in the manage UI
  • Compatibility with latest Deer Park builds
  • Compatibility with Seamonkey
  • Compatibility with Menu Editor (but not Compact Menu probably)
  • Less of a chance of being detected or stopped by page authors
  • Minor UI improvements, such as being able to press Enter/Esc in the various dialogs
  • Easier development of future features
  • No more memory leaks
  • Accelerator keys for menu commands
This one bit is actually the difficult point. There is this known bug in XUL where event handlers for menu items are lost when the nodes they are attached to are removed from the DOM. To get around this, we previously wrote the feature to rebuild the User script commands menu item whenever the Tools menu was activated.

However, since registered menu items' commands need to be active immediately and cannot wait for the Tools menu to be shown, this approach will no longer work. The only solution we have been able to come up with so far seems to crash Firefox for unknown reasons.

We'll work on this a little longer, but if no solution presents itself, we may need to ditch accelerator keys temporarily until we understand better what is causing this problem. We'll work on it for another week at the most.

But hey! Userscript.org is very close to being real! That's cool, right? We have hosting with TextDrive all set up and we just need to put the code up there and turn it on and we'll be ready to roll. W00t!

Very sorry for the delay on the next version. Hang in there, monkeyers.

84 comments:

CypherBit said...

Looking forward to it. Keep up all the good work.

Paul Irish said...

Can't wait for userscripts!
Development sounds like all good stuff. Great work.

Mark said...

I feel responsible for the lateness of this release, since I was the one pushing for keyboard shortcuts for userscript-originated menu items. I say push it to the next release, and get this puppy out the door.

Anonymous said...

Martin Packer from IBM here (who couldn't be bothered to get a blogger ID). :-)

I'm a recent user of greasemonkey (and I love it and am blogging about it within IBM). One thing I'd like to see, perhaps in this new release, is a way PROGRAMMATICALLY to install or deinstall a script.

I'm thinking of how one could write installation scripts.

Does this seem feasible? And if I've missed a pre-existing function that's cool, too.

Martin
(martin_packer@uk.ibm.com)

boogs said...

Martin!

First, you don't need a Blogger ID to comment with your identity. Just select the "other" radio button and type in your name and URL.

Second, yeah, you're not the first person to ask for this. Would you want to do it from another extension? From another program on the same machine?

If you just need to install copies of Firefox with Greasemonkey and certain scripts preinstalled, you don't need what you describe to do it. Just install a preset scripts/ directory into the right place in the profile.

More on that here:

http://dunck.us/collab/GreaseMonkeyFaq

Martin Packer said...

Thanks for the tip on how to use "other". :-)

Actually I'm more highlighting a "mass acceptance" thing, rather than pointing to a specific "cure". As we (in IBM) write scripts we would like to have them available to lots of non-technical people. (Or at any rate non-GMers.) So I'd encourage you to think about how to make it easier to automate script installation and maintenance.

While we might ship Firefox to our employees with GM and a set of scripts installed there's the other case to think about: I write an internal page prettifier and want to share it with colleagues. For mass adoption it ought to be easier than it is today. For instance I should be able to point them to a button a web page that runs javascript to install / upgrade / deinstall my script.

Jeremy Dunck said...

The first suggestion (install of lots of scripts at the same time) is something we've discussed before.

On the second item, would it be sufficient if, when clicking a user script link, it installed without prompting?

We could still have click-through to source as an item on the context menu.

Jeremy Dunck said...

Sorry, that might not have been clear. We do plan on actually doing the mass install/export feature, but haven't gotten to it yet.

Anonymous said...

This may be outside of the scope of greasemonkey, but it would be really cool if you could make is so that css code can be installed into the usercontent.css / userchrome.css files in the profile folder.

This would mean that people could install skins for themes easily into userchrome.css and change the css of webpages using usercontent.css . An example of such css that I did can be seen here - http://forums.mozillazine.org/viewtopic.php?t=286866

To me, this makes more sense that using Javascript to insert css into the html and it has the advantage of being applied before the page renders.

I also think it would be a great addition to your forthcoming scripts website to also be able to have these css files offering even more customising opportunities.

At the end of the day, it's all about lowering the barrier to entry for users, especially with Greasemonkey being already widely used.

What do you think?

Martin Packer said...

Regarding what Jeremy Dunck said...

I'm really not sure. I just wanted to raise the issue of how to ease mass distribution of Greasemonkey scripts to a larger user population.

At this point I'd suggest you do what you think is best.

grnch said...

Maybe it would have been better to push out another release with support for Deer Park 1 (so that people would not have to be forced to choose between GM and DP), and then do your refactoring/cleanups/whatever.

I tried a couple versions GM from CVS floating on the web which were supposed to fix Deer Park compatibility, but they all failed miserably (completely non-functional, and with missing button labels in the script manager).

P.S. I finally was able to make version 0.3.3 work with Deer Park by adding my scripts manually in the extension directory, and creating the config.xml by hand, but some scripts are still flaky, i.e. they don't seem to trigger always, sometimes I have to refresh the site a couple of times.

grnch said...

OK, I decided to give CVS another go, and what do I see? I didn't even have to build the package from source, there is already a 0.3.4 XPI in the downloads/ directory!

I tried it, it fixes compatibility problems with Deer Park, and seems to work just fine in general.

So, why does the website still say 0.3.3 is latest?! You go to all this trouble to develop this great extension, and then you don't even bother to update your website? How are people supposed to know that there is a new version? I'm not being ungrateful here, I just don't understand that mindset.

Anyway, 0.3.4 works just fine, so thanks for all your work.

Anonymous said...

Compatibility with Menu Editor (but not Compact Menu probably)
:(

Anonymous said...

Can you have an option for cascading menus under the tools menu ala adblock?

boogs said...

grnch:

I'm glad the Greasemonkey 0.3.4 you found in the downloads directory works for you.

The reason we didn't put it on the site is that it was never really tested. This was an interim build that was floated on the mailing list but never put through it's paces at all. It was also lacking many of the features intended for the next Greasemonkey version. You could think of it as a "nightly" in Mozilla nomenclature. It's great that it works, but basically dumb luck.

anonymous #1: Compact Menu compat isn't a priority for anyone who works on GM and those who looked at doing it found that it would be very difficult due to the way that CM is implemented. If you have an interest in doing this, feel free to submit a patch against the latest CVS.

anonymous #2: I'm not sure what you mean here. Can you be clearer?

Anonymous said...

Under Firefox's Tools menu, greasemonkey adds install user script/manage userscript/userscript commands. I'd like those three to be replaced by a single greasemonkey entry that can branch out into those three.

grnch said...

Hi boogs, maybe you could put a link to 0.3.4 with a warning that it's only an untested fix for Deer Park users, normal Firefox users shouldn't install it.

People who run the DP alpha have already accepted the possible instabilities in the browser itself, so using a "nightly" untested version of Greasemonkey isn't really a problem.

Right now, version 0.3.3 doesn't work at all on DP, so 0.3.4 can't be any worse for them. It would save DP users from a lot of frustration.

Anonymous said...

0.3.4 doesn't seem to work with dpa2 anyway. Can't install userscripts.

matt labrum said...

>This may be outside of the scope of >greasemonkey, but it would be really >cool if you could make is so that css >code can be installed into the >usercontent.css / userchrome.css >files in the profile folder.

heh i felt the sameway so i wrote a greasemonkey script a file ago that did just this (well injects personal css into webpages)

http://blog.thedt.net/cskinner/

Reliable One Staffing Services said...

Hot blog. When I get to seraching on the web for
blogs, its got to be like yours! And the site is off
the hook! I just kept coming back!
I can't explain, but you need to check my medical staffing
blog!

Infactahost.com said...

Hey, you have a great blog here! I'm definitely going to bookmark you!

I have a php session script site/blog. It pretty much covers php session script related stuff.

Come and check it out if you get time :-)

final fantasy 10 fan art said...

Energizing blog. It blew me away and I loved your
site. when I have the time to surf the net, i try
finding blogs as good as your site.
Hey playa! You need to check out my cash advance company blog.

Brian said...

Hey, you have a great blog here! I'm definitely going to bookmark you!

I have a cash lead payplan safelist site/blog. It pretty much covers cash lead payplan safelist related stuff.

Come and check it out if you get time :-)

orlando pharmacy job3 said...

Terrific blog. I search the internet everytime I
get a moment to find blogs. Its better than cold iced
tea and I have to visit it one more time!
Please examine my city elizabeth in job pharmacy blog as soon as you can.

bad credit loan mortgage9c7 said...

Wondrous blog. Your site was very pleasing and I
will go back again! I like surfing the net for blogs
as good as yours.
I want you to look for my payday cash advance blog.

Brian said...

Hey, you have a great blog here! I'm definitely going to bookmark you!

I have a advertising ebook marketing online software tool web site/blog. It pretty much covers advertising ebook marketing online software tool web related stuff.

Come and check it out if you get time :-)

grip the lip said...

Delightful blog. I devote my spare time just
looking for great blogs such as yours. I treasure this
site and will go back!
It may look like it was hard work, but my advance cash settlement blog was simple.

quick cash advance loan86a said...

Excellent blog.  I go though the web in search of
blogs like this one. Its so good, that I plan on
returning to its site!
Search for my blue tooth nokia 3220 blog, please!

mortgage insuranceb said...

Cool blog. I dig your site outline and I plan on
returning again! I just love finding blogs like this
when I have the time.
Oh please, check for the blog site with my cash advance loan!

cash advance minneapolis said...

Creative blog. I just kept looking at it over and
over! Im always looking for blogs like this!
Check out the blog site with my cash advance service in it!

payday advance greensboro61 said...

Captivating blog. I love surfing the web for the
type of blogs that you do. It had me on the edge of my
seat and I kept going back to again and again!
Once you sign on, check for my cash advance company loan blog.

job opportunitya said...

Unusual blog. I liked the site its from so much I
have to visit it again! I surf the web for blogs like
yours in my spare time.
I know that you love my work so, look up my job bank blog.

job opportunitya said...

Astonshing blog. I relished in the site and you
know I will be going to it again! Surfing the internet
hepls me to find blogs that arfe just as good.
Hey why don't you peep my america job bank blog site.

Anonymous said...

**HYDROPONICS**

Anonymous said...

Think that will drive you some extra traffic?

Anonymous said...

Hey, you have a great blog here! I'm definitely going to bookmark you!
I have a **ebooks** site/blog. It pretty much covers ebook/info/money making related stuff.
Come and check it out if you get time :-)

Anonymous said...

This IS The Easiest Money I've Ever Made!

And You Can Do It Too!

product trademark

Anonymous said...

Hey, you have a great blog here! I'm definitely going to bookmark you!

I have a ffa free page site submission site/blog. It pretty much covers ffa free page site submission related stuff. Plus you can advertise to billions using our ffa free page site submission tools.

Come and check it out if you get time :-)

Anonymous said...

Last month I made $12,124 with Google Adsense...Click
here for free on how you can do the same!

TechDown said...

Hey, I saw your blog and thought it was great. I thought you might want to look at some great Home Business Resource
. There's a lot of buzz about the new Home Business Resource
and maybe some of your readers will want to know. Best wishes to you.

Dotmotor said...

Can I tell your readers about good advertising on based email marketing rule Very thought provoking ideas in your blog.

Anonymous said...

Get your site heard in our member directory
Make us your homepage and read the daily updated articles.

Anonymous said...

Hey, you have a great blog here! I'm definitely going to bookmark you!

I have a credit check collection agency site/blog. It pretty much covers ##KEYWORD## related stuff.

Come and check it ou twhen youhave time :-)

Anonymous said...

Use our directory host mysql uk web to get your web hosting site seen. Increase your chances of getting quality traffic and increase your revenue through or straight forward directory host mysql uk web

rokkgod said...

I love this blog you got here. I run a movie review website and need people to do movie reviews.Movie Reviews. Thanks...sorry to be self promoting..at least you get some fresh text content.

Willie said...

I had that happen to me . I sent an email to admin and they took care of it. Payday Loans Cash Advance

Anonymous said...

Hey, you have a great blog here! I'm definitely going to bookmark you!

I have a Ultimate Marketing site/blog. It pretty much covers marketing related stuff.

Come and check it out if you get time :-)

watermelon-koolaide said...

Hype blog. And I admire your site and plan on
returning to it! When I web surf it always helps me to
find great blogs.
Where you been? You have got to look at my cash advance fort worth blog!

Anonymous said...

Hey, you have a great blog here! I'm definitely going to bookmark you! Get free
Traffic to your site/blog. It will Improve your page rank and it's free.
Go and check it out if you get time :-)

Anonymous said...

Hey, you have a great blog here! I'm definitely going to bookmark you! Get free
Traffic to your site/blog. It will Improve your page rank and it's free.
Go and check it out if you get time :-)

Anonymous said...

Hey, you have a great blog here! I'm definitely going to bookmark you!

I have a romance ebook site/blog. It pretty much covers ##KEYWORD## related stuff.

Come and check it out if you get time :-)

Anonymous said...

Free Ads and Marketing Lessons conveniently SENT straight to your Inbox Daily!

Anonymous said...

Hey, you have a great blog here! I'm definitely going to bookmark you!

I have a **Marketing strategies**blog. It pretty much covers Marketing Strategeis articles related stuff.

Come and check it out if you get time :-)

Anonymous said...

You'd like via an unsubscribe link at the end of Each Newsletter Publication.

Theresa Twogood said...

It's nice to see a blog that is worked regularly...Keep up the good work!
If you ever need content, browse of site at http://olin.tk . We also have our official company blog at http://olinepublishing.blogspot.com You are invited to use material from either.book

Anonymous said...

Speaking of directories, has anyone headr about the new political search directory out now? It is pretty much open to just about any category as far as I could tell and free to submit to. http://www.conservafind.com

Anonymous said...

display your RSS feeds on their web sites for content.

Health said...

Hey, you have a great blog here! I'm definitely going to bookmark you!

I have a **morgage** site/blog. It pretty much covers ##morgage saver## related stuff.

Come and check it out if you get time :-)

Anonymous said...

This easy to use software will automatically monitor all your websites notifying you immediately of any problems.call center softwarecall center software

Anonymous said...

Hey, you have a great blog here! I'm definitely going to bookmark you! Get free
Traffic to your site/blog. It will Improve your page rank and it's free.
Go and check it out if you get time :-)

Anonymous said...

Hey, you have a great blog here! I'm definitely going to bookmark you! Get free
Traffic to your site/blog. It will Improve your page rank and it's free.
Go and check it out if you get time :-)

TWPAdmin said...

I enjoyed reading your blog. There is a lot of useful information about design hosting prestonswebhosting.com web web in it. We offer Turnkey Websites and Reliable Hosting. We also provide a blogging service that will help your site get indexed fast and keep the search engines visiting your site. Click here for more information about design hosting prestonswebhosting.com web web.
Thank you
TWP Admin

Anonymous said...

Hey, you have a great blog here! I'm definitely going to bookmark you!

I have a t shirt contestcompany called Holden Tees. We're a small company and we sell shirts and stuff.

Come and check it out if you get time

-Holden Tees

Ravish Kumar said...

I love the loans key websites they provide the most relevant information about the payday loan providers....

Marian said...

Hi, thanks a lot for this informative blog! I'm happy there are such useful pages out there on the Internet. Thanks again. web directory

Anonymous said...

achat dvd viergeachat dvdachat mp3autoradio dvdautoradio mp3baladeur mp3boitier dvdcd musiquechanson francaisechanson paillardeparole chansonhoroscope poissonhoroscope sagittairehoroscope scorpionhoroscope taureauhoroscope verseauhoroscope viergehoroscopehoroscope lionhoroscope gemeaujeu de tarottarotzodiaquelogiciel comptablelogiciel de dessinlogiciel de gravuretelechargement logiciellogiciel de traductionlogiciel gratuitlogiciel montage photologiciel montage videologiciel mp3logiciel gratuitlogicielneroecran de veillefond d ecran ordinateurecran de projectionecran veilleecran plasmaecran de veille gratuitemoticone gratuitemoticonefond d ecran animalfond d ecran gratuitfond d ecran ordinateurfond d ecran pcfond ecran portabledivxdivx gratuitdivx playerdownload accedonkey 2000edonkeyemule fremule franceemule gratuitemule maniaemule paradiseemulefond d ecran sexyfond cranfond d ecran animalfond d ecran gratuitfond d ecran ordinateurfond ecran pcfond ecran sexyfond d ecranfondiconeicone xpillustrationimagefilm dvdfilm divxfrancaise des jeufrance musiquegraveur dvd externegraveur dvdinstrument de musiquejacquette dvdjaquette divxjaquette dvdlecteur divxaperitifchef recettecuisinerecette de cuisineporcpouletrecetterecette cuisinesoupe aux chouparole de chanson anglaispartition de musique pour pianopartition gratuite flute traversierelot partition tablature guitare beatlespartition de piano d amelie poulainpartition chanson francaiseDoes Your Mother KnowSlow Turningtablature guitare gratuite ille vilainetablature harmonicamsn plusnouvelle version msntelechargement msn messenger 7.5telecharger msn 7.5telecharger msn messenger 7.5telecharger msn messenger 8.0telecharger msn messenger gratuitementtelecharger msn messenger plustelecharger msn web messengertelecharger msntelecharger msnlecteur dvd divxlecteur dvd portablelecteur dvddriver pour lecteur dvd pioneerlogiciel lecture dvdlecteur mp3 baladeurlecteur baladeur mp3 usbtelechargement musique mp3musiquemusique a telechargemusique alsaceastuce jeu videoastuce jeu videoastucecasino jeucode jeuconsole de jeujeu a grattertelecharger jeujeu actionjeu adultejeu arcadeaccessoire voitureautomobilecode jeutuning motoparis tuning show 2006paris tuning showrallytuningvoiture tuningvoiturenero burningnero expresspack codecpiloteripperserveur emuleshareazaskypetelechargement p2ptelechargement logicieljeu de combatjeu de damejeu de footjeu grattage gratuitjeu hasardjeu de lulujeu de motojeu de rolejeu de strategiejeu de stylistejeu de voiture gratuitchanson pour enfantclip musiquecodec divxtelecharger codec windows media playercodeccombi dvd vhsconvertir wave en mp3copie dvddriverdriver hpdvd divxbanque postalecarte postale virtuellecarte postalehennemodèle de tatouagepiercing languepiercing nombrilpiercingtatootatouagemusique arabemusique classiquemusique countrymusique de filmmusique gratuitemusique gratuite a telechargerparole chansonparole de chanson francaiseparole et musiqueparole et musiqueparole chansonlogiciel antivirustelecharger jeuantivirus personalantivirus gratuitantivirus gratuitementnorton antivirusantivirus softwareantivirusavastavgbitdefenderfirewalllogiciel antiviruslogiciel antivirusmc afeenorton antivirusnortonspybottelecharger norton antivirustelecharger antivirustelecharger msn 7.5adresse msnastuce msnavatarbotmsn web messengerclin d oeil msne messengeremoticone gratuisemoticone gratuitemoticonejeu de voiturejeu diamantjeu diddljeu educatifjeu en ligne gratuitjeu en lignejeu en reseaujeu gratuit pour enfantjeu enfantjeu erotiquetelecharger divxtelecharger emuleacrobat readeracrobat readeracrobat readerad awareadobe acrobatbase de donneeclone cdclone dvdclone cdcompressionjeu aventurejeu barbiejeu cadeauxcasino jeujeu concours gratuitjeu concoursjeu d argentjeu d echecjeu de billard gratuitjeu de billardjeu cartetelecharger nero 6telecharger nero 7telecharger nerotraducteurtrillianwinampwin mxwinrarwinzipzone alarmemule plusencodeuricqimeshjavatelecharger kazaa litekazaa litetelecharger kazaakazaa litelogiciel architecturelogiciel batimentlogiciel comptabiliteemoticone msnmessenger msnmessengerastuce msnmsn web messengermsn 7.0msn 7.5msn messenger 7.0msn messenger 7.5msn messengermsnblague blondeblague droleblague humourblaguebonne blaguecarte postalevideo comiquediaporama humourpps humourhumour sexyvideo humourhumourimage humourpps humourvideo comiquejeu flashjeu frjeu grattagetelecharger jeu gratuitjeu gratuit enfantjeu gratuitjeu javajeu mobilejeu onlinejeu pc gratuitastrologie gratuiteastrologiehoroscope 2006horoscope balancehoroscope belierhoroscope cancerhoroscope capricornehoroscope chinoishoroscope gemeauhoroscope gratuithoroscope lionhoroscope mensueldvddvd decrypterdvd discountfilm dvddvd musiquedvd pas cherdvd playerdvd pornoecouter and de and la and musiquecomment telecharger un filmfilm a telechargerjeu pcjeu playstation 2jeu pornojeu videojeupc astucerom nintendoromsims 2 telechargementtrucs

Anonymous said...

anti spyware gratuitavast antivirusantivirus en ligneantivirus gratuitantivirus gratuitementantivirus pour scannerantivirus softwareantivirusavast antivirusavg antivirusavgbitdefendercomparatif antivirusetrustfirewalllogiciel antivirusmcafeemeilleur antivirusnorton antivirus gratuitnorton antivirustelecharger nortonpanda antivirusspybotspywaretelecharger antivirus gratuittelecharger antiviruszone alarm206 tuningaccessoire tuningaccessoire voiture tuningtuning autobmw tuningboitier tuningmoto tuningparis tuning showpiece auto tuningpiece tuningrallyscooter tuningtuning autotuningvoiture tuningblague blondeblague de totoblague droleblague du jourblague humourblague sur les blondeblague telephoneblague videoblaguevideo comiquediaporama humourblague humourhumour et blaguehumour gratuithumour noirhumour sexehumour sexyvideo humourhumourimage comiqueimage humourpps humourblague videovideo comiquevideo humourace mega codecacrobat readerad awarebaladeur mp3clone cdclone dvdcodec audiocodec avicodec divxcodec dvdcodec gratuitpack codeccodec videocodec xvidcodeccompressionconvertir mp3convertisseur mp3codec divxdivx gratuitdivx playerdivxdownload acceleratordriverdvd divxdvd playerdvdedonkey 2000edonkeyemule fremule franceemule gratuitemule paradiseemule plusemuleencodeur mp3enregistreur dvdgraveur dvdhp drivericqimeshjaquette dvdjavakazaa litekazaalecteur mp3logiciel a telechargerlogiciel antiviruslogiciel architecturelogiciel comptabilitelogiciel dessinlogiciel de gravuretelechargement logiciellogiciel de traductionlogiciel gratuitlogicielnero burning romnero expresspack codecripperserveur emuleshareazaskypetelechargement logiciel gratuittelechargement logicieltelechargement p2ptelecharger acrobat readertelecharger ad awaretelecharger antivirustelecharger avasttelecharger divxtelecharger e muletelecharger emule gratuittelecharger emule gratuitementtelecharger emulejeu gratuit a telechargertelecharger javatelecharger kazaa litetelecharger kazaatelecharger nero 6telecharger nero 7telecharger nerotelecharger real playertelecharger shareazatelecharger skypewinamptelecharger winziptelechargertraducteurtrillianwinmxwinrarwinzipzone alarmecran de veille gratuitecran de veillefond d ecran gratuitfond d ecran pc