google-meet-grid-view-extension: 2020.4.7 Stopped working some time today, git missing everything since 2020.04.1

I think something must have changed on the google meet site, as this extension was working earlier today, but now it’s not working at all – it doesn’t add its button to the meet UI, and clicking the grid toggle in the extension itself doesn’t do anything any more.

There’s an error in my dev console that I think is coming from this extension:

Error in event handler: TypeError: Cannot read property 'click' of undefined
    at chrome-extension://bjkegbgpfgpikgkfidhcihhiflbjgfic/js/inject.js:41:64

Which corresponds to … code I can’t find in this repo?

// ...
injectScript(chrome.runtime.getURL('js/google-meet-grid-view/grid.user.js'));

//injectScript(chrome.runtime.getURL('js/messaging.js'));
chrome.runtime.onMessage.addListener(
    function(request, sender, sendResponse) {
        
        let gridOn = !!document.getElementsByClassName('__gmgv-vid-container').length
        let showOnlyVideo = JSON.parse(localStorage.getItem('gmgv-show-only-video'))
        let highlightSpeaker = JSON.parse(localStorage.getItem('gmgv-highlight-speaker'))
        let includeOwnVideo = JSON.parse(localStorage.getItem('gmgv-include-own-video'))
        console.log(localStorage)

        if(request.hasOwnProperty('startup')){
            console.log('init')
        } else if(request.hasOwnProperty('toggleGrid')){
            document.getElementsByClassName('__gmgv-button')[0].click()
            // ^^^ this line ^^^
// ...

I have version 2020.4.7 installed currently.

About this issue

  • Original URL
  • State: open
  • Created 4 years ago
  • Reactions: 1
  • Comments: 17 (4 by maintainers)

Most upvoted comments

No worries. This whole thing has just gotten so crazy. What started as something I literally packaged for like 300 people has ballooned into 3 million and while that’s kind of neat, it’s mostly been a tremendous amount of work just signing student data agreements and whatnot. I feel like I have to do it because I understand how huge a difference it makes for our families, but this isn’t like what I DO…

I for one would love to help with keeping the extension working @sreyemnayr, if you’ve got stuff that needs fixing/doing besides the list of gh issues(I can look at those too). This is so incredibly useful to so many people that I can only imagine many others would be willing to help too 😃

This was my fault. It was working in my build of Chromium but clearly not across the board. Should be working in 2020.4.9

Sorry about that

That’s unfortunate that the GitHub is not updated. Not very community friendly 😕