GoogleMonkeyR

By mungushume Last update Dec 8, 2011 — Installed 282,173 times.

How to disable vertical outlining of search results in column view?

in
Subscribe to How to disable vertical outlining of search results in column view? 4 posts, 2 voices



Cerberus™ User
FirefoxWindows

Brilliant script!
Q: I have my GoogleMonkey set to columns, and search results like this:
1 6
2 7
3 8
4 9
5 10
The results are vertically outlined: 1 and 5 start at the same hight, as do 2 and 6, et cetera. But when 1 is taller than 5, some space will be empty between 5 and 6 (see screenshot for extreme example of the space-wasting effect). Is there a way to disable vertical outlining? How could I edit the script to do it?

 
mungushume Script's Author
FirefoxWindows

@Cerberus™
Results are loaded into a table hence the spacing they get I.E. tallest cell denotes row height.
No getting around this easily
mh

 
Cerberus™ User
FirefoxWindows

Thanks for your quick reply! If it was a lot of work to implement, I understand why you chose this layout. By the way, there also is the "Multi-Column Google Search" script, which does have two columns without the spacing issue; but it does not have all the other cool features and neat look of tha Monkey. Here it is; unfortunately I don't understand much of CSS scripting so I can't point out what exactly is the line or lines that does it:


// ==UserScript==
// @name Multi-Column Google Search
// @namespace http://userstyles.org
// @description NEW version : http://userstyles.org/styles/647
// @author pawelkl
// @homepage http://userstyles.org/styles/3730
// @include http://google.com/search*
// @include http://google.pl/search*
// @include http://www.google.com/search*
// @include http://www.google.pl/search*
// ==/UserScript==

(function() {
var css = "@namespace url(http://www.w3.org/1999/xhtml); div[id=res]{ /* Replace this with next line if you want exact number of columns */ -moz-column-count: 2; /*-moz-column-width: 500px !important;*/ -moz-column-gap: 10px !important; } div[id=navbar][class=n]{ bottom: 2px !important; padding: 1em !important; border: 1px solid #f00 !important; position: fixed !important; background: white !important; } table[border=\"0\"][cellpadding=\"2\"][cellspacing=\"0\"][width=\"100%\"],font[size=\"-1\"][class=p],br {display:none !important;} h2[class=r],span[class=a] {display:block !important;}";
if (typeof GM_addStyle != "undefined") {
GM_addStyle(css);
} else if (typeof addStyle != "undefined") {
addStyle(css);
} else {
var heads = document.getElementsByTagName("head");
if (heads.length > 0) {
var node = document.createElement("style");
node.type = "text/css";
node.appendChild(document.createTextNode(css));
heads[0].appendChild(node);
}
}
})();

 
Cerberus™ User
FirefoxWindows

I have found a solution: I combine Monkey with this userscript:
Multi-Column View of Google Search Results
http://userscripts.org/scripts/show/10299
Just set Monkey to one column.

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