Article View: news.software.readers
Article #242918--
From: JeffRelf.F-M.FM
Date: Mon, 04 Oct 2010 00:09
Date: Mon, 04 Oct 2010 00:09
35 lines
2669 bytes
2669 bytes
<PRE>
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' ;
Technical Details
Message-ID:
<JeffRelf.F-M.FM@_BH.2010_Oct.3_.5.09.pm>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.internet.services.google.mbox.zip!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!news.glorb.com!news-spur1.glorb.com!newsread.glorb.com!.POSTED!not-for-mailReferences:
<4ca81414$0$15406$c3e8da3$cc4fe22d@news.astraweb.com> <slrniag817.24lb.g.kreme@ibook-g4.local> <1e6c1m1c0k5o6$.dlg@sqwertz.com> <93vha6pa6tu50aal0k5mttoodka3elu7ml@4ax.com>Show Full Headers
Complete Article Headers
Message-ID: <JeffRelf.F-M.FM@_BH.2010_Oct.3_.5.09.pm> Subject: -- Date: Mon, 04 Oct 2010 00:09:45 +0000 From: JeffRelf.F-M.FM · • ✼@. References: <4ca81414$0$15406$c3e8da3$cc4fe22d@news.astraweb.com> <slrniag817.24lb.g.kreme@ibook-g4.local> <1e6c1m1c0k5o6$.dlg@sqwertz.com> <93vha6pa6tu50aal0k5mttoodka3elu7ml@4ax.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.internet.services.google.mbox.zip!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!news.glorb.com!news-spur1.glorb.com!newsread.glorb.com!.POSTED!not-for-mail Newsgroups: news.software.readers,comp.internet.services.google Organization: JeffRelf.F-M.FM Lines: 34 NNTP-Posting-Host: XJGH+5GM8EvggnDfgIBqtQ.659.posting.glorb.com Content-Type: Text/HTML; charset=UTF-8 X-Complaints-To: abuse@glorb.com NNTP-Posting-Date: Mon, 4 Oct 2010 00:09:45 +0000 (UTC) User-Agent: X.EXE X-Notice: Scanned by Mr. Bill