devunt / make-gis-great-again Goto Github PK
View Code? Open in Web Editor NEWThis web extension adds back "View Image" button to Google Image Search results.
License: MIT License
This web extension adds back "View Image" button to Google Image Search results.
License: MIT License
Guys
Chrome has extension that has BOTH "View Image" and "Search by Image"...
https://chrome.google.com/webstore/detail/view-image/jpcmhcelnjdmblfmjabdeclccemkghjk
Aaannnd so is FireFox now...
https://addons.mozilla.org/en-US/firefox/addon/view-image/
This plug-in actually makes image search better. By naming it "Making GIS Great Again", you imply that it will slowly but surely destroy everything about image search that we love and reduce it to a burning pile of rubble. Please update this plugin accordingly.
I'm using Version 64.0.3282.167 (64-bit)
I've restarted chrome after installing, but I still see no changes to GIS -- there is no View Image button added. I don't see anything in the page console to indicate an error.
Happy to provide additional details, but don't know where to look.
Doesn't works on site google.by but works on google.ru. I cannot check on google.com, it redirects me to google.by.
Hello,
Thank you for this great script.
Can you add multilanguage buttons?
English = "View image"
German = "Bild anzeigen"
...
Greetings 👍
Seems like Google have changed something as the extension isn't working for me anymore.
As of February 28, 2018, chrome extension stopped working.
Hey, I noticed the button doesn't show up when going into sites like this one. Also, when changing from one preview to another (i.e. when choosing a related image) and clicking the button it just shows the original image you clicked, not the related image. Thanks for the extension by the way!
Bug description:
I'm running Firefox 61.0.1 (64 bit) on Linux Mint 18.3 (64 bit).
Your add-on works perfectly as long as I left-click on an image in the Google Image search results:
https://www.google.com/search?q=kittens&source=lnms&tbm=isch&sa=X
But when I do one of the following:
a) right-click + select "open in new tab"
b) shift + left-click
c) ctrl-shift + left-click
then the "view image" button is missing.
It's no big deal if you know about it, but if you don't, it can make you think that the add-on doesn't work at all.
Are you using browser extension or userscript?
browser extension
Is "Make GIS great again" working on other pages?
sorry, i don't understand the question :-)
the add-on is for google image search only, so what "other pages"?
Is error disappeared when you changed extension/userscript to userscript/extension?
no, the error is the same with the userscript version
Link to page where error occurs
https://www.google.com/search?q=kittens&source=lnms&tbm=isch&sa=X
Screenshot of page where error occurs
left-click (works) = https://imgur.com/tNFiG75
right-click (doesn't work) = https://imgur.com/V4bJ7Xq
Screenshot of Developer tools' "Console" (Firefox — Control+Shift+K
, Chrome — Ctrl+Shift+J
)
are you kidding me?
how many more hoops do i have to jump through before i can finally submit this bug report?
Any reason why the Firefox wouldn't show in extensions/add-ons/plugins after installation? Firefox says it was successfully installed but even after restarting the browser I am having trouble locating it. For example Add-ons shows nothing installed as well extensions, and plugins just has usual OpenH264 Video Codec and Widevine Content Decryption module.
Control+Shift+K
, Chrome — Ctrl+Shift+J
)BTW, Works fine on "google.com".("画像を表示" mesns "View image" in Japanese.)
https://i.imgur.com/z50GtUH.png
This was working, but it looks like Google have changed their page causing the script to fail when trying to add the button.
Example link:
https://www.google.co.uk/search?q=sega+power+strip&num=40&tbm=isch
Output from console:
Uncaught TypeError: Cannot set property 'innerText' of null
at addButton (userscript.html?id=cd697653-4be5-43f7-b18b-1d1540ce687a:51)
at addedNodes.forEach (userscript.html?id=cd697653-4be5-43f7-b18b-1d1540ce687a:81)
at NodeList.forEach (<anonymous>)
at mutations.forEach (userscript.html?id=cd697653-4be5-43f7-b18b-1d1540ce687a:80)
at Array.forEach (<anonymous>)
at MutationObserver (userscript.html?id=cd697653-4be5-43f7-b18b-1d1540ce687a:77)
Control+Shift+K
, Chrome — Ctrl+Shift+J
)The button does not appear. Exact error from Developer Tools is attached.
[edit added 2020/01/22]
To install the lastest version of the script, check the current version number in this repository, below in this thread, and in my fork.
Use the method in this comment to install/update the userscript. When installed that way, it will be updated automatically every time the source is updated.
[Original message]
For some time now I have been using your script as a userscript in tampermonkey.
I had it modified in two places:
At the time, I was planning to PR the new code here, but I got focused on other projects.
I did not notice immediately the effect of the new CSS ; in incognito mode the old style is still in use, and the script still works.
The code below can handle the old and the new style.
I can PR it if you want. And post explanation on the modications.
// @version 1.5.0.2
use latest version below
Can anyone else confirm if this add-on works with Firefox ESR on their computer? It installs but appears to do nothing.
The extension fails to load the View button on the "full screen" GIS view that is sometimes used when clicking an image from the main Google results page. I discovered this problem by clicking on the first image on the "knowledge panel" to the right of the search results. If there are multiple images in the panel, only the first one opens to this full screen view; the other images will redirect to the normal GIS results page of the subject.
I use this version because I don't like what google made of chrome in the latest versions.
Usually all extensions works fine for me in my old chromium but your extension is not working at all.
Using the Firefox extension, the 'view image' button no longer displays as of today. Until yesterday it was working fine.
An opportunity to make GIS greater than it ever was: rather than just opening the image as if when clicking the old "View image" button on Google (with inages.google.com as the HTTP referer), actually take the URL of the "Visit page" button, and inject that as the Referer header when the user clicks "View image".
Even better, use the "Visit page" links as referers when loading the images embedded in the search listing. This effectively defeats schemes where the image is blocked or blurred when coming from Google.
Makes Stupid Cunts Think They're Clever Again
Nice implementation though. Appropriate that an american company gets taken down by a stock image host, and the workaround is named after a stock company that took america down.
Control+Shift+K
, Chrome — Ctrl+Shift+J
)MGGA is not showing up at all anymore, on any pages.
I'm assuming just a GCode change, but thought I'd let you know before the review rating gets tarnished on Mozilla Add-Ons.
Control+Shift+K
, Chrome — Ctrl+Shift+J
)-double fr translate entry
-you can add turkish -> tr: 'Resmi Görüntüle',
-remove- Sorry, I may have done something wrong.
A few days ago Google updated UI and now view image extension is not working on Google Chrome
https://addons.mozilla.org/en-US/firefox/addon/google-search-view-image/
Did Mozilla take this down? If so, can you provide an alternative download?
Any chance of providing an XUL/XPCOM version, for Firefox legacy browsers, like 'Firefox ESR', 'Pale Moon' and 'SeaMonkey'?
When you click on a related image on google, and then click the "view image" button, the original image that you clicked on in the google search appears, not the one that you switched to (the related one.)
When I click a related image the view-image button doesn't update the new image url,
I've read the source code, I know how it works, I tried to fix it but, I didn't find the new related image JSON data.
Before the recent changes, clicking the listed resolution of an images would result in a search for alternate sources of the image, listed by resolution.
It's still possible to get these results by copying the image URL, going to images.google.com choosing search by image, picking URL and pasting in the source you found.
With this (first result for an image search for "car") as an example URL: https://www.cstatic-images.com/stock/379x253/15/img-1276321340-1509471668915.jpg
This would be the search URL showing alternate sizes (Which doesn't look very helpful to me):
https://www.google.com/search?safe=off&hl=en&q=car&tbm=isch&tbs=simg:CAQSlwEJVyVSPBXpYsYaiwELEKjU2AQaBAgVCAgMCxCwjKcIGmIKYAgDEijzDfYN8g30Dd0E9Q3OBPEN-Q3fBMoyvTLhILwyyzLJMroywzK1P84yGjDoZ8pA9mX7Mcv7BXxuBq7OhozZf739GJrh9kmrbxrUZQ39zo7EXosNGWkgra33MnMgBAwLEI6u_1ggaCgoICAESBAUYHhsM&sa=X&ved=0ahUKEwiarKHB6KzZAhUD0WMKHfNcAmUQ2A4IJygB&biw=1920&bih=974
I'm running the latest Make GIS Great Again extension in Firefox 59.0.2 on Mac 10.13.4.
I cannot get the View Image button to load at all during Google Image searches. I see reviews for the plugin mention the same issue, but I didn't know if you watched those as much as GitHub issues.
Here's a video of what I'm seeing. https://www.screencast.com/t/Q3RVmh8YvX
Thanks!
Are you using browser extension or userscript?
Browser Extension
Is "Make GIS great again" working on other pages?
No
Is error disappeared when you changed extension/userscript to userscript/extension?
No
Link to page where error occurs
All images
Screenshot of page where error occurs
All images
Screenshot of Developer tools' "Console" (Firefox — Control+Shift+K
, Chrome — Ctrl+Shift+J
)
https://i.imgur.com/4vPYD3h.png
Are you fucking serious ?
https://i.imgur.com/PkLZcMP.png
I'm on opera 51, win 7 using Install Chrome Extensions and this stops videos from autoplaying on youtube. Don't know if I call it a bug or a feature.
https://github.com/bijij/ViewImage
This developer's browser extensions for Firefox and Chrome can bring back both buttons. But I really really want to keep using Safari on Mac. Can you update the Userscripts to restore both "View Image" and "Search by image" buttons?
Thank you very much!
Neither the extension nor the Userscript work (anymore?). Did Google Images change the layout of their result page?
@devunt Google changed something again. It still gets the images just the layout is all messed up
Control+Shift+K
, Chrome — Ctrl+Shift+J
)hello,
i have a problem with french translation who doesnt work :
i must change default language in this line :
const localizedViewImage = lang[(lang[navigator.language] ? navigator.language : 'en')];
by
const localizedViewImage = lang[(lang[navigator.language] ? navigator.language : 'fr')];
i think the detection doesnt work.
Ty for your work
description This userscript adds "View Image" button to Google Image Search results.
description:tr Bu komut dosyası, Google Görseller arama sonuçlarına "Resmi Görüntüle" düğmesini ekler.
Please add this description.
Another problem
Would you please write G with capital letter?
tr: 'Resmi görüntüle',
--- tr: 'Resmi Görüntüle',
Does not work on encrypted.google.com.
Control+Shift+K
, Chrome — Ctrl+Shift+J
)-I tried both the extension and the script.
-It does not work on ANY Google Image Search result.
-Error persists regardless of which version I use.
-Link to example page:
https://www.google.com/search?sa=G&hl=en&q=gorillaz+gorillaz+album+cover&tbm=isch&tbs=simg:CAQSlwEJaBjozYfv8WkaiwELEKjU2AQaBAgVCAQMCxCwjKcIGmIKYAgDEijAEvoDnAKwAvwDyAatCp4CuxLHBtcmiTOqIdIm6TyBM4AzijPqPK4mGjA5uLIX5mrpnkqI5SjuAzhRKLr-8aex8d057_1Qf_1RObcqH4zvoezDfQg_1BeyOs9PmUgBAwLEI6u_1ggaCgoICAESBHCwrW8M&ved=0ahUKEwjj1Nrd0ejaAhUH0lMKHR-ICtUQ2A4IJygB&biw=1920&bih=900#imgrc=arvpscqacf05bM:
-Screenshots attached.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.