You need to be logged in to post in the forums. If you do not have an account, please sign up first.
Google Image Ripper for Opera?
Can this Greasemonkey script ( http://userscripts.org/scripts/show/36918 ) from http://dearcomputer.nl/gir/ be made to work with Opera?
// ==UserScript==
// @name Google Image Ripper
// @namespace http://dearcomputer.nl/gir/
// @description No more thumbnails, straight to the good stuff! Rewrites Google Image Search results to show full images instead of the thumbnails.
// @include http://images.google.tld/*
// @version 1.3
// ==/UserScript==
// ==CHANGELOG==
// ver 1.0 - 2008.10.13
// - initial release
//
// ver 1.1 - 2009.07.16
// - fixed after changed google image search markup
//
// ver 1.2 - 2009.12.04
// - fixed after another google markup change
// - added version number to modified title
// - improved javascript for logo DOM modification
//
// ver 1.3 - 2010.01.19
// - linked images to original hosting pages (thnx to shake & freecyber for suggestions)
(function() {
// expand page title
document.title += " [ripped results by Google Image Ripper v1.3]";
//change logo
googleLogo = document.getElementById('logo').getElementsByTagName('img');
googleLogo[0].src = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAABqCAMAAAAFiQq3AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAZQTFRFAAAA////pdmf3QAAB15JREFUeNrMm4li2zgMRB///6d3m0TCNSApWY6Ttk58RCVBYDAYQIx3f3Hx0/z7+//D1+P55C99fa3p3+PP7hjHs83f/pVF8m3L739fL3w/3zsbfsULfs73XCzCPkyuxKMeSfPe6Yb82FFY8rc9sD3x8/u3Zd3OiJa9uwN/lfATbFnyiB3Ow4/XZsdvHokyHbdYhOPt6X4jW7I5jWjm+J20SuQvj4FGmMOKJ1yeoOk+zRWwuOBtiDg8fE95pPdGsx7nJ3bPlSkeUJClvKbscqaaw6YR34e8Sm8ibXUuRhcNMpH+jBPjfbTb/ttVUKJXWJLmSlimTsFrnkjASRpUQOzwii8sLUn5rHnfiUU+3Cj7VSfq47PzRuXXNf8eEVzzooGlyjjz6GYSGWs7NojY4OSJ2inijnfmuZuCiwjfQDOH9Bk0sGHRQQ0U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iw0VfVhciauv463UAUsiGyq/4HdmXStznSYo0YZp03cR2Wx4/Sv8CcS5KIe2YtdnVukhSaWA2RYXqB/iByvTTLLrFGj36ZtWxofh1RM3Vlg6xR+ncmwFWc2J73Ig5KKZ5IF9JpBrEfNtvLuThqHN6JZGE8Mi5N+XQLgs4ucOYemIcqXcR1XiZ4RNHucCC0MpBiEJ3roPEk4O6HvgNsacWrc0I/rqYcaWuqCKF7PukiYORJ/EoOd8mHmOf1SP9QjgBnbtq9yTqO5U1uv1ZarFGIGHcPvW4Rq33o3LWEbu8OXotW35OcP/aXWQ0Kl7yyTZ3M/mJ4gOC3YUhFGccrcpHH2OHmRfPLWyUBq9TXsb3smadnWAJ1vP/JKaRaw9c7va5wh0eCQEQds/3qzAI1Sv0ujZDnvEkd4PmJq6al/PgTLSCXVR1wILoHgoOjeVzz8TDjDJSnRheTdPDpog6zLjCSQvtPX8i8SSJS00Kc81JYW4u4+AaOmPEotE4dX7KOsS9FaGG8xCw1JRSr+JW/YFQnxATckLPE2DBQKppbJRpTV+y3InSWTNjxRhdXebvhXDTITfGo+dzA4iYR9Qnk84webJKd7vXqlHKxtID410W5C6mvM+HWF626HVdCUNkVmRFlDtyo6lbu972vsZIOtfakQxIUO5ToaE5I7CSEm/sxkqnH6x0Z9osXOyYcxndxBSht13uDxXzL7GSS3EsKJicyyYqowTRYKUb6qkZXRuy9NdzN/XeQ4Saoud2WCnbCrnnc2lVrxxBw3NGd2cYUvQiYNh+fuUuRuWnvq3EoL0frb+vxAelF07EfY9VkRr5bir/ui/PCRV3vvoVlUFNsA85MaIn5vAV0Yh6Q2bMO3pInxUSbrspqDKN6+dJHdcbbhg/dhERpOd67q41ejNdKKo4y9HD38fifyTrauSYE7Ga+GSYuQxqls/WSQMZqheX72dxWpJV7/flbM3FemYU6yTPeSkKisfR00HGfwIMAH36NZkqaJ6BAAAAAElFTkSuQmCC";
// Get list of all anchor tags that have an href attribute containing the start and stop key strings.
var fullImgUrls = selectNodes(document, document.body, "//a[contains(@href,'/imgres?imgurl\x3d')][contains(@href,'\x26imgrefurl=')]");
//clear existing markup
var imgContent = document.getElementById('ImgContent');
imgContent.innerHTML = "";
for(var x=1; x<=fullImgUrls.length; x++) {
//reverse X to show images in correct order using .insertBefore imgContent.nextSibling
var reversedX = (fullImgUrls.length) - x;
// get url using regexp
var fullUrl = fullImgUrls[reversedX].href.match( /\/imgres\?imgurl\=(.*?)\&imgrefurl\=(.*?)\&usg/ );
// if url was fetched, create img with fullUrl src
if(fullUrl) {
newLink = document.createElement('a');
imgContent.parentNode.insertBefore(newLink , imgContent.nextSibling);
newLink.href = unescape(fullUrl[2]);
newElement = document.createElement('img');
newLink.appendChild(newElement);
newElement.src = decodeURI(fullUrl[1]);
newElement.border = 0;
newElement.title = fullUrl[2];
}
}
function selectNodes(document, context, xpath) {
var nodes = document.evaluate(xpath, context, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
var result = [];
for (var x=0; x<nodes.snapshotLength; x++) {
result.push(nodes.snapshotItem(x));
}
return result;
}
})();
http://extendopera.org/userjs/content/unframe-google-images
http://extendopera.org/userjs/content/google-images-relinker-mod
Originally posted by Y0Y0:
What does it do? There is a script here somewhere that pulls the URL for the images separately from the full pages.
Thought I replied yesterday, but I guess not. Anyway, I assume you mean http://my.opera.com/community/forums/topic.dml?id=258020 . If so, Yes I found those excellent scripts a while back. However this scrip takes it one step further. When you perform an image search you get sent directly to 20 full size pictures instead of the thumbnails you usually get. Exactly the same way as the page http://dearcomputer.nl/gir/ display the result.
Originally posted by Frenzie:
^
http://extendopera.org/userjs/content/unframe-google-images
http://extendopera.org/userjs/content/google-images-relinker-mod
Appreciate the links, but I'm looking for a way to skip the thumbnails altogether.
Originally posted by jhue:
Appreciate the links, but I'm looking for a way to skip the thumbnails altogether.
Google may have plenty of bandwidth and money, but the poor schmuck whose images you're viewing while perhaps merely considering them insignificant results may not. :/
Originally posted by Frenzie:
I don't really understand your point.Originally posted by jhue:
Appreciate the links, but I'm looking for a way to skip the thumbnails altogether.
Google may have plenty of bandwidth and money, but the poor schmuck whose images you're viewing while perhaps merely considering them insignificant results may not. :/
Originally posted by jhue:
Originally posted by Frenzie:
I don't really understand your point.Google may have plenty of bandwidth and money, but the poor schmuck whose images you're viewing while perhaps merely considering them insignificant results may not. :/
The point is you would be abusing peoples' bandwidth by doing that. I don't know about you, but I certainly wouldn't appreciate some jerk eatng my bandwidth because he's too lazy to click individual images.
Originally posted by Melby:
The point is you would be abusing peoples' bandwidth by doing that.
Yeah, that.
But since I did, I have to say: This kind of moralistic crap that comes from Frenzie and Melby is all over the Opera forum. I saw more of it here during the 6 month I used Opera than all the year I used/using FX, and that's a lot of years. Every time I had to use Opera forum to look for an answer, it sure felt like I had to put up with tons of moralistic crap and aggro fan boy posts from 'poor richard' and his likes. I mean seriously? Whining about bandwidth - if you're to thick to get an unlimited hosting plan or use third party hosting, then there's not really anything anyone can do for you. At least have the decadency to shut the hell up, or at the very least, don't call people 'Idiots'. But then again, maybee its not that strange that Opera attract these kind of people. I mean we are talking about a company that went whining to the European council instead of just paying for some ads like the rest of the companies do. I was a bit dubious when I decided to change back to FX (really did find Opera to be a good product). But seeing this, I'm just so glad I did. Also from this moment on I never going to use Opera mobile either... /jhue
I very much doubt that anyone cares about my rant here, but I had to get it out of my system, so here it is.
/jhue
Edit:
I see now that I'm posting under two different usernames.
Originally posted by jhue:
Appreciate the links, but I'm looking for a way to skip the thumbnails altogether.

gripper.user.js
Mostly copy/paste stuff using http://dearcomputer.nl/gir/ ..
Also, as of now I ditched fastmail for gmail as well, even though I already paid up for another couple of month.
/jhue