-
-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
View image button no longer visible on CHROME #254
Comments
same in vivaldi (chromium). |
I believe this has been fixed in 3.6.4 (Issue #242) and the Chrome web store just hasn't updated |
The UserScript stopped working also |
I did some investigation/debugging and discovered the following error being thrown by the extension in Chrome: I was able to trace the likely cause of the nullref back to a switch statement responsible for populating the value of 'viewImageButtonText' - which has no default case. This remains true in the current version of the repo's main branch. // Set the view image button text
var viewImageButtonText;
switch (version) {
case VERSIONS.FEB18:
viewImageButtonText = viewImageButton.querySelector('.Tl8XHc');
break;
case VERSIONS.JUL19:
viewImageButtonText = viewImageButton.querySelector('.irc_ho');
break;
case VERSIONS.OCT19:
viewImageButtonText = viewImageButton.querySelector('.pM4Snf, .KSvtLc');
break;
} 'viewImageButtonText' is later passed to 'localiseObject()' as the 'obj' arg. This is my first dive into the Google page code relevant to this plugin, so I don't know if the above needs updating, but here are two examples of containers using the 'tvh9oe' class. The first is the one we want to target and additionally uses 'BIB1wf', others seem to use 'LRNLRb'. <div jsname="CGzTgf" class="tvh9oe BIB1wf" data-tbnid="z4_uU0QB2pe-SM">…</div>
<div jsname="R5S48d" class="tvh9oe LRNLRb" style="display: none; transform: translate3d(445px, 0px, 0px);" aria-hidden="true" data-tbnid="-VCM1w56w6u5VM">…</div> Any further down this rabbit hole and I might as well write my own replacement, lol. Thank you for continuing to maintain this extension, @bijij! |
Which one? |
Well done. Coding practices are a good rule of thumb, worthless in this case.
That would be reinventing the wheel, unless you make it dynamic enough to parse the structure regardless of Google's changes - as was the case. Part of the problem here is that people haven't been able or willing to read the history of #242
There is a fix, and there is an update. If I were @bijij I would leave at least on Chromium-related issue open since closing them perpetuates this problem of users not noticing that the issues has been brought up and solved, yet not available because... Back to the matter at hand, as mentioned by @funblaster22 this is indeed a duplicate of #242 and every other issue in between, as is this one. In less than 10 days, Google made 2 separate class name changes to their Google Images styling. The dev eventually fixed them but warned Chromium-based users (Chrome, etc) that the vetting process on the side of Google could take as long as 2 weeks, while Firefox would take a couple hours. Firefox users have had their situations solved for a good week now. Chromium-based users are depending on Google for approval or they would need to go through hoops to install an unsigned extension. Now, while you guys are still having issues, and until the official extension gets vetted by Google, you can use the workaround I provided which builds on top of @bijij own UserScript which I updated and fixed when these issues started. If you want to use the workaround while the extension's update isn't officially available, read here: #242 (comment) |
I was referring to the one on this project, but I found the updated UserScript you posted on #242 that one works. |
Hi Folks, I'd been a bit under the weather since last week and hadn't taken a moment to look at GitHub, my apologies. Firstly I'd like to thank @ner00 for taking it upon themselves to help me out there it's really been a great help. So a few things: I'm incredibly sorry for any inconvenience caused over the past couple weeks from this. |
I'll leave this issue open until google approves v3.6.4. |
I have noticed that version 3.6.4 doesn;t work in firefox. |
It's working fine for me, but a few things to consider:
|
After several uninstallations and installations it seems to be ok. |
@bijij has gotten Google to approve v3.6.5 update, it's working perfectly afaik, I think this can now be closed. |
Umm... NO. March 2023. Not working again. Looks exactly like the photo in the OP. |
Not for me...
[image: Screen Shot 2023-03-04 at 2.35.28 AM.png]
…On Sat, Mar 4, 2023 at 12:13 AM ner0 ***@***.***> wrote:
March 2023. Not working again. Looks exactly like the photo in the OP.
Umm... WORKS FINE.
Has been, for months, clearly.
[image: chrome_eHOk7oYFUg]
<https://user-images.githubusercontent.com/2269603/222852678-b6ef6f10-c359-4b42-a405-befe9b0b6234.png>
—
Reply to this email directly, view it on GitHub
<#254 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA2KI54YOOUZLXTEARXF5D3W2J3I3ANCNFSM5YJDMAVQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Likely this is another A:B test from google. PR's welcome |
This is extremely weird because I just tried it on my 2nd google account and I do have the view image button, but if I use my main account it's not there. Now I want to know what the difference between the 2 accounts is! |
And now even weirder, it just started working again using my main google account. I think I just needed to complain hard enough! |
Mine is still not working. Just uninstalled and re-installed. Nothing.
…On Fri, Mar 10, 2023, 3:19 AM VladimirGluten ***@***.***> wrote:
And now even weirder, it just started working again using my main google
account. I think I just needed to complain hard enough!
—
Reply to this email directly, view it on GitHub
<#254 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA2KI57EY7XUWFND6XEA2ATW3KFR7ANCNFSM5YJDMAVQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Describe the bug
Last week the extensions view image button vanished and I've not be able to restore it though uninstalling and reinstalling.
Screenshots
System Information
The text was updated successfully, but these errors were encountered: