Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

MonkeyBarrel Google

Automatically checks for new grease monkey scripts on userscripts.org for every page you visit, and shows a little monkey in the corner of the page if there are any.

This script is based on k7lim's script MonkeyBarrel but is updated to search using google.com and to cache the results. It also tells you when there are new scripts so you can keep up to date with your favourite sites.

Updates
Update: 9-April-2007
-added variable for fade coustomisation
-added auto update

Update: 7-April-2007
-updated to work on non-HTML pages

Update: 5-April-2007
-Cleaned source code
-changed @excludes
-added variables for user customisation
-let monkey shrink smaller

Update: 31-March-2007
-better caching
-Monkey head moved to the left
-Monkey head shrinks after 5 secs
-displays box if there are new scripts since last time.
-added @excludes

Update: 24-March-2007
-query selection (eg games.slashdot.org gives slashdot)






1 point
login to vote
Batshua user
Posted Feb 4, 2008

Any advice on how to move the monkey to the lower right like RS1990 did? I don't see how to move it to the lower edge of the screen, although it was simple enough to move it to the right.

1 point
login to vote
Nyks scriptwright
Posted Nov 29, 2007

I installed and activated the script, but I didnt see any "Monkey" in any corner. I tried it on some popular site, where have to be some scripts: google.com, ebay.com, userscripts.org, ... no monkey :(

Whats wrong?

1 point
login to vote
Erdinc scriptwright
Posted Apr 26, 2007

alien_scum, I used your auto update in my script. Thanks! :)

http://userscripts.org/scripts/show/5067

I also added "What's New" and version number to the dialog box so people can see what changed.

1 point
login to vote
alien_scum script's author
Posted Apr 9, 2007

gabedibble: While I think it is a brilliant idea that script is a bit unwieldy and require that users install it as well. It turned out to be less effort just to check for updates directly, so from now on Monkey Barrel Will automatically update

megamorphg: I added a variable at the top of the code to tweak the way the monkey shows. You can set it to shrink=1 to have if fade over a couple weeks or shrink=0 for no fade. It's up to you.

1 point
login to vote
megamorphg user
Posted Apr 9, 2007

Is there a way to make it so that the monkey isn't all that fancy smancy? Maybe just a simple monkey head that doesn't shrink and magically fade?

1 point
login to vote
gabedibble scriptwright
Posted Apr 8, 2007

Author: Please check out User Script Updates - simply update the header of your script and your users will be able to receive change-notification when you improve this script

1 point
login to vote
Junk Blocker scriptwright
Posted Apr 8, 2007

That should be 'alien_scum'.

(The comments on scripts should also be editable !)

1 point
login to vote
Junk Blocker scriptwright
Posted Apr 8, 2007

Thank you alien_sum :)

1 point
login to vote
alien_scum script's author
Posted Apr 8, 2007

Junk Blocker: I added a try catch block so it will never have that problem again but also rewrote the display code so it works even on non HTML pages like the readme file (and user.js files)

1 point
login to vote
Junk Blocker scriptwright
Posted Apr 7, 2007

On some pages like

http://ftp.vim.org/pub/vim/patches/7.0/README

the Monkey Head does not get inserted. Now if someone has firebug enabled, the showmonkey() function ends up causing a massive DoS by spewing errors on

      document.getElementById('monkeyhead').width=size;
      

I came home to find my firefox stuck and thrashing at about a few hundred thousand of these error messages.

1 point
login to vote
RS1990 user
Posted Apr 6, 2007

I actually updated it to put the icon in the lower right. I have found that to be the least intrusive.

1 point
login to vote
Stretch user
Posted Apr 5, 2007

Alien_scum,

Thanks, works beautifully!

1 point
login to vote
alien_scum script's author
Posted Apr 5, 2007

Stretch: I've cleaned up the source code a lot (no functional changes) so if you download the latest version, you have to change one line near the top.
delete the first part of:
var side='left'; //var side='right';
to get:
var side='right';
Simple as that the monkey will display on the right.

1 point
login to vote
Stretch user
Posted Apr 5, 2007

I'm a total noob but is there someway to move the monkey head back to the right? Every website I know of utilizes the top left corner (thank you web 2.0) so it just seems to be in the way now..

1 point
login to vote
Nadav Kavale... scriptwright
Posted Apr 4, 2007

woowww :-)
this is SO useful ! and beautifully written :-)

1 point
login to vote
Henrik N admin
Posted Mar 30, 2007

@exclude http://*.user.js?* and @exclude http://*.user.js#* makes it not display literal HTML when viewing source with e.g. http://userscripts.org/scripts/show/5913.

1 point
login to vote
Lior Zur scriptwright
Posted Mar 24, 2007

Elegant solution. The script works great now! I also vouch for its trustworthiness, having read the code.

1 point
login to vote
Lior Zur scriptwright
Posted Mar 23, 2007

Hi alien_scum, first, good work and nice coding. Script works great. Second, there seem to be a small problem with your otherwise elegant execution. Suppose I run it on the URL: http://games.slashdot.org/
It searches google and us.o for "games", which is certainly not what's wanted. You should better have something more sophisticated for analyzing the URL. I'd look for the suffixes (".com" etc.) from a reasonable distance from the beginning of the array, and pick the element one index before.

You could comment on this script if you were logged in.