upman / gchat-copy Goto Github PK
View Code? Open in Web Editor NEWChrome plugin that adds a button to copy links to threads in Google Chat
License: MIT License
Chrome plugin that adds a button to copy links to threads in Google Chat
License: MIT License
Hi again,
I love the ability to copy the link from a thread and to quote a message. Do you know if it is technically possible to also copy the link of a message? I'd be willing to give it a try if you accept pull requests.
if i have the extension enabled and go into a chat room, after loading everything, the chat always moves slightly up or jumps around. i always have to scroll down to the bottom then to get the latest messages.
Version 81.0.4044.92 (Official Build) (64-bit) on Ubuntu 18.04
This "bug" was introduced in the #24 when the extension started to select the buttonContainer by arialLabel.
The annoying GitHub Enterprise preview (in case Chat cannot access the page due to 401)
can be easily removed in the console with:
document.querySelectorAll("c-wiz[data-topic-id]").forEach( function(e, i, t) { e.querySelectorAll('a[aria-label="Build software better, together, Web Page."]').forEach(function(a) { a.parentElement.parentElement.style = 'display: none;' }) })
Google is not using chat.google.com domain anymore. Please change the site access to https://mail.google.com/chat/*
Hi!
First of all, thanks for your hard work, this extension is very useful! I just updated to support the mail.google.com domain and it works great, good job :)
I found that if I am subscribed to all notification in a room, the follow button does not appear on top of each thread. This is by Google's design. Unfortunately, this makes the extension's copy thread link
button also hidden.
Do you accept pull requests? If so, I can try to solve it.
This extension seems to be compatible with Firefox as-is (maybe there is some incompatibility in some flow which I haven't discovered yet, but at least the main functionality works as expected, as it should, since Firefox supports WebExtensions).
I have loaded the extension on Firefox by going to the "about:debugging" page and clicking the "Load Temporary Add-on" button and it worked just fine (but it only works as long as the browser is installed).
It would be great if you can confirm this and upload it to Firefox Add-ons, since it would be easier for users to install it directly rather than relying on copying the Tampermonkey script.
If you need more testing and / or some help, I can volunteer some time to this :)
Thank you!
when clicking a link to a thread (no matter if i got it from this plugin or from somewhere else), i get (with the plugin enabled) always moved down one thread instead of getting to the actual linked thread.
Ubuntu 18.04, Chrome Version 81.0.4044.113 (Official Build) (64-bit)
For you who's the extension has stopped working, do the following:
1. Download the extension to your machine (here -> https://github.com/upman/gchat-copy)
2. Update the code:
just copy and paste
3. install the extension without packing (google how to do it, it's easy)
4. It's done.
Thank you for providing a useful extension.
When creating a shortcut and using it with a narrow screen size, the query "?shell=8" may be added to the URL occasionally. After that, if you click "copy links", the link "room/{room-id}?shell=8/{data-topic-id}" that cannot be opened correctly will be copied.
So, please use window.location.origin + window.location.pathname instead of window.location.href that contains the query?
Kind regard.
Thanks for the great extension!
When activated it is not possible to use Slash-Commands for Bots anymore.
They just show up very rarely if you type /sometext
and start deleting.
If I deactivate the extension everything is working fine.
I am using Chrome Version 95.0.4638.69 (Offizieller Build) (64-Bit)
Hey there, thank you so much for this plugin.
I managed to make the removal of the previews work in the newest gchat webapp. See my fork for the details.
I am happy to create a PR.
It would be great if this can support the new Google Chat UI ๐
Hi, I'm trying to use quote reply on the Google Chat extension, but doesn't works :'( The extension seems to unable to activate, please have a look https://ibb.co/qY1TNjy
Please have a look the following errors in console: https://ibb.co/gWhBmwM
"[DEFAULT]: Firebase: Firebase App named '[DEFAULT]' already exists (app/duplicate-app).
at i (https://cdn.outbound.io/pub-9dc679b8d7a3ce7af1cebb6a169a466c.js:1:13152)
at Object.n [as initializeApp] (https://cdn.outbound.io/pub-9dc679b8d7a3ce7af1cebb6a169a466c.js:1:11942)
at r (https://cdn.outbound.io/pub-9dc679b8d7a3ce7af1cebb6a169a466c.js:1:24606)
at u (https://cdn.outbound.io/pub-9dc679b8d7a3ce7af1cebb6a169a466c.js:1:9130)
at c (https://cdn.outbound.io/pub-9dc679b8d7a3ce7af1cebb6a169a466c.js:1:1518)
at https://cdn.outbound.io/pub-9dc679b8d7a3ce7af1cebb6a169a466c.js:1:1381"
Many thanks.
This extension has been very useful for years, but it doesn't work with the latest chat spaces since October update. We will be very grateful if you fix it.
Thanks.
It looks like the quote reply button appears in the emoji menu, highlighted white/blue. Clicking it does nothing. Turning off the extension removes the icon.
This may be related to Google Workspace releasing the ability to manage custom emoji
Hi Team,
hope you're well. Just a quick question, do you have any issue with this extension after Chat was updated with the new functionalities (bold, italic, etc)?
We have a few users that already have the "new interface" that are not able to use this extension properly.
Please let us know asap and any workaround will be more than welcome
Thanks in advance
Love this extension, any chance to update it so it works with other languages like German, too? I'd be happy to help.
"Copy thread link" would be "Unterhaltungslink kopieren" or "Unterh.-Link kopieren"
Hello, with recent updates to GChat (https://workspaceupdates.googleblog.com/2022/10/in-line-threading-in-Chat-spaces.html), there is a new "in-line threaded" type of space that doesn't work with how this extension handles the "Copy thread link" button. And Google just announced that they will be deprecating the "Organize the conversation by topic" space type on March 13, 2023, and totally removing that option by the end of the year (https://workspaceupdates.googleblog.com/2023/02/new-google-chat-spaces-will-be-in-line-threaded.html).
Myself and my team love this extension and use it frequently, and we'll be sad to see it go when we have to make the switch to "in-line threaded" spaces.
Would it be possible for you to update this extension to have a "Copy thread link" button for each main-thread message in the space, even if it isn't a topic thread? I've checked the "Forward to inbox" button that is built into GChat and the links work the same way, they are just displayed differently. It would probably work best to just have a small icon that sits to the left of the other message buttons instead of the whole "Copy thread link" text being part of the button, in order to save space.
Thank you!
P.S. I'm sure you've seen them already at this point, but there are a number of people complaining/concerned about this issue in the Chrome extension reviews as well:
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.