Items in news.software.readers

Subject:​ Google's “Instant Search”.
Date:Sun, 03 Oct 2010 17:09:45 -0700 (Seattle)
From:JeffRelf.F-M.FM · • ✼@.
Newsgroups:news.software.readers,comp.internet.services.google

To see more results without “allowing” cookies:
1. Turn off Google's “Instant Search”.
2. Make the cookie Read·Only.

Or write a GreaseMonkey script to disable JavaScipt selectively, 
to allow JavaScript at some of Google's pages and not others.

Below is an example of how I disable the JavaScipt at “*google.tld/imgres?*”.
[ the “tld”, above, matches “.COM”, “.CO.UK”, etc. ]

Basically, this script deletes most of the page ( “document.body.innerHTML” )
and recreats it.
   
Config.XML:

  < UserScriptConfig>
   < Script filename="G·Image.User.JS" name="G·Image" namespace="" description="" enabled="true" basedir="">
    < Include>*google.tld/imgres?*< /Include>
   < /Script>
  < /UserScriptConfig>

G·Image.User.JS:

  var Context="", Img="", Terms="", d = document, l = d.getElementsByTagName, AA = l('A'), i = AA.length ;
  while( --i >= 0 ) with( AA[i] )
    if ( innerHTML.match(/Website for this image/) ) Context = href ;
    else if ( innerHTML.match(/Full-size image/) ) Img = href ;
    else if ( href.match( /\/images\?q=/ ) )
      Terms = href.replace( /^.*\/images\?q=/, "" ).replace( /&.*/, "" ).replace( /\+/g, " " ).replace( /%22/g, '"' );
  function del(Tag) { AA = l(Tag); while( AA.length ) AA[0].parentNode.removeChild(AA[0]); }
  d.title = Img, del('Script'), del('Meta'), del('Style'), del('DIV') ;
  d.body.innerHTML = "< PRE>\r\n" + Img + '\r\n' + Terms + '  < A hRef="' + Context + '">' + Context + '< /A>\r\n'
  + '< img Src="' + Img + '" Alt="' + Img + '">\r\n' ;