MonkeyBarrel Google

By alien_scum Last update Apr 9, 2007 — Installed 5,659 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 19 posts, 13 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Batshua User

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.

 
Nyks Scriptwright

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?

 
Erdinc Scriptwright

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.

 
alien_scum Script's Author

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.

 
megamorphg User

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?

 
gabedibble Scriptwright

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

 
Junk Blocker Scriptwright

That should be 'alien_scum'.

(The comments on scripts should also be editable !)

 
Junk Blocker Scriptwright

Thank you alien_sum :)

 
alien_scum Script's Author

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)

 
Junk Blocker Scriptwright

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.

 
RS1990 User

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

 
Stretch User

Alien_scum,

Thanks, works beautifully!

 
alien_scum Script's Author

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.

 
Stretch User

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..

 
Nadav Kavale... Scriptwright

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

 
Henrik N Admin

@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.

 
Lior Zur Scriptwright

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

 
Lior Zur Scriptwright

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.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel