# \[MQTT\] Add a topic copy button

**URL:** <https://community.gladysassistant.com/t/mqtt-ajout-dun-bouton-de-copie-du-topic/6531>\
**Category:** Demandes livrées\
**Created:** [September 17, 2021, 6:51am UTC](https://community.gladysassistant.com/t/mqtt-ajout-dun-bouton-de-copie-du-topic/6531 "2021-09-17T06:51:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [September 17, 2021, 6:51am UTC](https://community.gladysassistant.com/t/mqtt-ajout-dun-bouton-de-copie-du-topic/6531/1 "2021-09-17T06:51:29Z")

</div>

The title speaks for itself. To make it even simpler for the user, we could have a small button to copy the MQTT topic.

Similar to what can be seen on GitHub for example

![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/c/cb04cf4ef78bd8276c117fe86a27a5fbd0f547bc.png)

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [September 17, 2021, 7:00am UTC](https://community.gladysassistant.com/t/mqtt-ajout-dun-bouton-de-copie-du-topic/6531/2 "2021-09-17T07:00:04Z")

</div>

aha I feel like I spend my days explaining this one 😂

There was a copy button in the initial development, but the problem is that the browser’s copy/paste API is only available on sites available on a domain and in HTTPS. So it broke on local instances.

So on the Gladys Plus side, we could re-enable it, but not for local instances.

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [September 17, 2021, 7:01am UTC](https://community.gladysassistant.com/t/mqtt-ajout-dun-bouton-de-copie-du-topic/6531/3 "2021-09-17T07:01:41Z")

</div>

Oh crap, forget it (memory of a goldfish) I’m closing the topic

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [September 17, 2021, 7:02am UTC](https://community.gladysassistant.com/t/mqtt-ajout-dun-bouton-de-copie-du-topic/6531/4 "2021-09-17T07:02:15Z")

</div>


