GoogleMonkeyR

By mungushume Last update Dec 8, 2011 — Installed 256,127 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 125 posts, 65 voices



Jesse Andrews Admin

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

 
foobla_ Scriptwright

Hi, i adapted your code to my needs. My script "googlebilingual" adds english hits in a second column to the default results.
I just wanted to drop you a line: I'm using your code, thanks :)

 
The_Steph User

mungushume,

Don't rush to answer my request as it woud show that you master coding Google extension :o)

More seriously, thanks for having spent some of your time on my request that is just cosmetic.

Hope you'll release your next version soon
The_Steph

 
mungushume Script's Author

@The_Steph
I have identified where changes would need to be made but as yet have not settled upon the best values. I will see what can be done for the next release.

@sanriver12
The recent functional additions when disabled do not put any extra load on the script and use DOM nodes already identified for external links and the trackless option of the script.
Googlepreview works well for static pages of results but not for the autoload functionality available within GoogleMonkeyR. It seems some users were using GoogleMonkeyR, googlepreview and customizegoogle to get the effects i have included with about 20 lines of simple code (lines 512-531).
I had not added this functionality before because i could see no reason for it, others disagreed. I suggest you leave this new functionality disabled as i do.

mh

 
sanriver12 User

why keep adding unnecesary stuff that is only going to make the script break more often. i mean, why add googlepreview when there is an external addon that does this perfectly already?

 
The_Steph User

mungushume,

That's exactly what I meant (sorry for my hard to understand explanation).

The_Steph

 
mungushume Script's Author

@The_Steph
I think i sort of get what you mean. If i'm following you correctly you want the site description text not to wrap and to use the whole cell width !? i.e. results wider with less height.

@Nasir Jones
Glad we got there in the end. It wasn't even that much coding !)

mh
P.S. if you are a fan of this code please "Favorite this script"

 
Nasir Jones User

You're great! thanks for the Thumbnails like GooglePreview

 
The_Steph User

mungushume,

Just knew your script yesterday and already loving it (btw, 2 updates since my installation). Wonderful work :o)

After the last two fulfilled requerst, I'd like to add one. When using only 1 row view, what do you think of making the site description test going up to the end of theline instead of having it trucated. It would lower the requested space needed to show all the results.

Thanks in advance.
The_Steph

PS : I'm using FF 3.0.3

 
Pierre75007 User

Hi mh,
A reply to your reply (oct 14).
Actually, most of the time googlemonkeyR and CustomizeGoogle work along quite well within my browser (I am using FF2). So I get the favicons from CG and all the rest from GooglemonkeyR!
As for the columns versus screen issue, it is not big deal. And you are right: two columns are generally sufficient, excepted on very wide screens.
Thanks again for the recent fixing. I am so glad that GooglemonkeyR works nicely again.
Pierre

 
Nasir Jones User

the functionality is missing from GoogleMonkeyR is the "image preview" like the addon "googlepreview" and when I use "autoload next page automatically on googlemonkeyR" it disable the image preview on the next page of "googlepreview" and it for that I use ""autoload next page" of "customizegoogle"

 
mungushume Script's Author

@Dave Piehl
You seem to be correct and the error comes from lastpass scanning the source of the iframe the GoogleMonkeR preferences loads in. The source of the preferences comes from a data:text/html;base64 coded string. Unfortunately there's no real (easy) way for me to do anything about this. See what lastpass say after all it's still in beta !)

@Cencio
Um. Opera. Fast, yes. My first choice, no.
At first glance Opera does not recognise tld's (top level domains) in the @source parameter of the meta data.
Then it doesn't have the built in functions GM_getData and such (fixable with an addin "Emulate GM Functions").
Then it produces a javascript error and doesn't tell you where it occurred.
I tried to load the built in debugger/DOM inspector (Dragonfly) and got a page cannot be found error.
I gave up. Sorry.

@Nasir Jones
With as much functionality as both GoogleMonkeyR and customizegoogle have in there own rite there are bound to be conflicts when they are both working on the same DOM. You found one. Exactly what functionality is missing from GoogleMonkeyR that you have in customizegoogle? You could always request a new GoogleMonkeyR feature !)

mh

 
Nasir Jones User

I had a problem with GoogleMonkeyR and firefox addon "Customizegoogle 0.76" because "autoload next page automatically on google search" bug it load always the same page! it work when I disable GoogleMonkeyR!

 
Cencio User

It is really a pity that it doesn't work in Opera!!
Can you do something?
vc

 
Dave Piehl User

Great script. I am running into a conflict with LastPass Firefox extension. When I open the preferences window it hangs and I get a couple of error messages about an unresponsive script (Script: file:///C:/Documents%20and%20Settings/xxxxx/Application%20Data/Mozilla/Firefox/Profiles/xxxxxxx/extensions/support@lastpass.com/components/lastpass.js:1). My suspicion is that LastPass is looking for forms, password, etc. that it can fill in - which never happens. Otherwise it runs great. I have reported this conflict to LastPass as well.
Thanks!

 
wolfgrrl User

Now we're back in business! You might check out this post tho. I don't have this feature yet, it might be rolling out slowly. Might affect your script: http://skitch.com/florianseroussi/31b3/new-york...

Thanks for the quick response! Got my script back - w00t!

 
mungushume Script's Author

@wolfgrrl
Thanks for the heads up, i honestly hadn't noticed it had stopped working! v1.0.8.9 should now auto-load more results correctly.

@dieslowly
The problem you're experiencing is due to several lines of code setting the style in "Google Search Sidebar for FF3..."
Basically this code uses pixel values for the main element widths (results and sidebar) and not something scalable like percentages

styles += '#searchPlus { overflow:hidden; margin:0 0 50px; float:right; width:320px; }';
needs changing to something like
styles += '#searchPlus { overflow:hidden; margin:0 0 50px; float:right; width:28%; }';

and

styles += '#res { width:600px; float:left; }';
change to
styles += '#res { width:70%; float:left; }';

That should do yah!
I'll leave it up to you to notify Kyle Day of these changes !)
regards
mh

P.S. some changes in v1.0.8.9 may have got rid of the crash when opening the preferences a second time. Please notify me either way as i still can't simulate it !(

 
wolfgrrl User

Google must have changed something. I cannot get the next page to autoload, I just get the spinning circle. My "GoogleMonkeyR" configuration link in the upper right hand corner is now missing. I'm searching US Google from the Google Toolbar. Using FireFox 3.0.3. GoogleMonekyR ran fine up until today.

Hope this gets fixed soon because it's one of my favorite extensions! Thanks for all your hard work.

 
dieslowly User

I'm having trouble getting your script to work in conjunction with either Google Extra or the Google Search Sidebar script. I was able to use this and Google Extra perfectly until the most recent google update, I then updated to your version 1.0.8.8 and things started to go a bit wrong.

When working perfectly I would have two columns of results taking up 3/4 of the page from left to right with the Google Extra sidebar taking up the final quarter. After updating the search results now appear under the Google Extra sidebar on the far right, leaving the main 3/4 of the page blank.

I then reinstalled the Google Extra sidebar, this rectified the problem somewhat. The search results now appear in the correct part of the page but instead of taking up 3/4 they take up the whole page and the results run on top of the Google Extra sidebar.

I then turned to the Google Search Sidebar for FF3 script and encountered problems with that which I have listed on the comments page for that script (http://userscripts.org/scripts/show/11888).

I'm not entirely sure who's script is responsible for which bug but I'm hoping you can help me out. I can provide screen shots to explain a bit better if needed.

I am using Firefox 3.0.1 and searching the UK localisation of Google from the Firefox search bar.

Thanks

 
miststlkr User

I also get a crash regularly and the error console results are LOOOONG, but I can narrow it down to any time I try to go inot the settings after they have once been set. I don't know if this helps any, but those are the circumstances. Once installed I can open the settings and set them but if I try to re-open that settings pane it crashes FF and resets the options to defaults.

 
mungushume Script's Author

@Name13013
I receive no income from this script what so ever! There are two donation links related to this script. One link on this page and one small link in the preferences window of GoogleMonkeyR. I receive no money from advertising and do not bump certain results higher in the results list. This code is free to use, copy and modify… just give credit where credit is due!

@NoOB123
Right, a good question! Well the coding structure uses JSON (JavaScript Object Notation). That being that var UIL = {…} creates an object with the properties and methods listed within the {} and assigns it to the variable UIL. The preferences screen is standard HTML that is shown in an iframe. The trick here is to encode the HTML in “data:text/html;base64” format that Firefox will automatically decode. Join all this together with binding of this to keep the persistence within the object and you have a script like GoogleMonkeyR… I’m sure that’s as clear as mud but you did ask!
mh

 
NoOB123 User

Hey mungushume,

Can you explain to a coding enthusiast like me how you did the Preferences window? I’ve looked through your code about half a dozen times without understanding any of the UIL.UI stuff. Thanks!

 
Name13013 User

What does this actually do?? Give you more money for your adds? or make you more money?

 
mungushume Script's Author

v1.0.8.8 another late night release !) They'll be the death of me!

@anonymous_user
I can only assume you mean the Google news results that always come first in the search results!? Yes i could build in a function and prefs to remove this result but feel its easier just to ask you to ignore them !)
As for the crash with FF3 with the prefs screen... i still can't reproduce it, so in turn, there's little chance of me fixing it.

If anyone else experiences this problem please let me know. Any pointers to where it could be coming from will be greatly received!

@Pierre75007
You're finding auto loading slow but would like me to build in functionality to bring back each results favicon... Which is it speed or pretty pictures? I know which i prefer! (even with asynchronous favicon calls you're still using precious bandwidth that could be returning your results.)

The age old problem of results pushing the screen so wide that scroll bars appear is a problem i'm loath to delve further into. Other than fixing results div widths and hiding the overflow within them, there is little i can do. Can i recommend you stick to two columns of results? Frankly i find more than two distracting and generally unnecessary anyway.

@sanriver12, @NoOB123, @Xymor, @Pierre75007 and @Marc Savoy
I do this for the love of it (but the beer fund could always do with a boost!)
Thanks for the thanks
I'll keep on doing it as long as i'm able.
mh

P.S. These long nights of coding would never be possible without the diamond tunes of http://www.friskyradio.com flowing though my speakers. If you like progressive dance give them a spin!

 
Marc Savoy User

This is an excellent script, highly recommended.

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