# Chrome/Firefox extension "Share to discourse"

**URL:** https://meta.discourse.org/t/chrome-firefox-extension-share-to-discourse/21104
**Category:** Feature
**Created:** [14 Ottobre 2014, 11:19am UTC](https://meta.discourse.org/t/chrome-firefox-extension-share-to-discourse/21104 "2014-10-14T11:19:17Z")
**Posts on this page:** 10
**Page:** 2

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [11 Luglio 2017, 7:15am UTC](https://meta.discourse.org/t/chrome-firefox-extension-share-to-discourse/21104/21 "2017-07-11T07:15:04Z")

</div>

I’m not interested in making a browser extension, but I’d like to try making a share to Discourse plugin for WordPress. A specific logo could be used to link to a specific forum, or clicking a general logo could open a modal window with a list of forums that had registered with the plugin. Once a forum was selected, it would be possible to offer a list of categories/groups/individuals to share the post with.

The end result would be to open a new browser tab with a link similar to the one @david posted. Doing it this way would let Discourse handle the most of the work.

I’ll try making a prototype of it and see if it makes any sense. Thanks for the idea.

 ![](https://global.discourse-cdn.com/meta/original/3X/4/c/4cf97169ae1f4cce9f4160a16221a0a8b9890437.png)

---

<div class="post-metadata">

### Author: ![Muiran](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/muiran/32/73797_2.png) [@Muiran](https://meta.discourse.org/u/Muiran)
#### Post date: [11 Luglio 2017, 11:12am UTC](https://meta.discourse.org/t/chrome-firefox-extension-share-to-discourse/21104/22 "2017-07-11T11:12:10Z")

</div>

I’m willing to support that idea Simon but I’m sure there is a audience for that.

Elsewhere on **meta.discourse** , I’ve posted my interest in a high-level, onebox integration of **[Diaspora\*](https://diasporafoundation.org/)** a privacy-aware, distributed, open source social network that can bring [synergistic enhancement](https://en.oxforddictionaries.com/definition/synergistic) to Discourse such as a more feature rich [User Profile](https://en.oxforddictionaries.com/definition/profile) but without adding complexity and dreaded [Feature Fatigue](http://simplicable.com/new/feature-fatigue).

Adding standard, and it is unquestionably a web standard, contempory social media share tools caters to web denizens whose lives online are entirely on the surface:

- Instagram,
- Snapchat,
- YouTube,
- Facebook
- Oxford English Dictionary

The **[SUBVS.US](https://subvs.us)** proposal for the **Diaspora of Discourse** plugin with Diasora sidebars open and Discourse selected instead of the stock **Diaspora Activity Stream**

 ![](https://global.discourse-cdn.com/meta/original/3X/a/b/ab591ba8bd4e5e9f30ad163ad78e20558cf9577a.png)  
Instead of static sidebars these have **Sliders ie Baby Hamburgers** on each side that can be set to open and close automagically or manually. In this mockup we see the Discourse forum is “In Focus”, the Activity Stream is always a toggle away from use.

A social media button would be accessible at all times within the editor.

The iconic share buttons look and work the same on every website. All of them are connected, and I simply propose making acess to that ecosystem possible from within a Discourse paradigm.

Another long term project you probably will claim you don’t get, is **Discourse for Google Docs** , a version of **[WordPress for Google Docs](https://apps.wordpress.com/google-docs/)** it is one of my all time favorite chunks of code from Automatic.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [25 Settembre 2017, 12:42am UTC](https://meta.discourse.org/t/chrome-firefox-extension-share-to-discourse/21104/23 "2017-09-25T00:42:43Z")

</div>

This will be covered by the new Web API:

> <https://github.com/w3c/web-share-target/blob/main/docs/explainer.md>

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [7 Febbraio 2018, 3:06pm UTC](https://meta.discourse.org/t/chrome-firefox-extension-share-to-discourse/21104/24 "2018-02-07T15:06:44Z")

</div>

[https://twitter.com/mgiuca/status/935695942438678528](https://twitter.com/mgiuca/status/935695942438678528)

This is live in Chrome Canary/Dev. However [Firefox and Chrome devs are discussing the string format of the URL](https://github.com/WICG/web-share-target/issues/31) and this will not land in stable browsers until it gets settled.

Here is how it will work when this lands:

[![](https://global.discourse-cdn.com/meta/original/4X/4/e/8/4e80a79ec4e0c2aac9e9ceef1a5ede5da57d0b88.jpeg "Discourse Share Target API") ](https://www.youtube.com/watch?v=qILo9a0kH4s)

---

<div class="post-metadata">

### Author: ![Menzer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/menzer/32/119682_2.png) [@Menzer](https://meta.discourse.org/u/Menzer)
#### Post date: [25 Luglio 2018, 9:37am UTC](https://meta.discourse.org/t/chrome-firefox-extension-share-to-discourse/21104/25 "2018-07-25T09:37:50Z")

</div>

This is what I have been looking for! A lot of people like to just click and share, I have a few web site owns will to place something like this on there website so our users can post on to our forums with ease

---

<div class="post-metadata">

### Author: ![jimkleiber](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimkleiber/32/121814_2.png) [@jimkleiber](https://meta.discourse.org/u/jimkleiber)
#### Post date: [8 Luglio 2025, 1:26pm UTC](https://meta.discourse.org/t/chrome-firefox-extension-share-to-discourse/21104/27 "2025-07-08T13:26:56Z")

</div>

Questo mi ha aiutato enormemente.

Questo lo apre in una nuova finestra e aggiunge una categoria di link:

```js
javascript:window.open("https://www.example-forum.com/new-topic?category=links&title="+encodeURIComponent(window.location.href), "_blank");

```

Ora posso aggiungere molto rapidamente link al mio forum che potrò poi ordinare. Considerando che sto usando il forum come una knowledge base o un giardino digitale, questo può rendere super facile inserire link da raffinare in seguito.

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [16 Luglio 2025, 6:04pm UTC](https://meta.discourse.org/t/chrome-firefox-extension-share-to-discourse/21104/28 "2025-07-16T18:04:01Z")

</div>

> [@jimkleiber](#):
>
> Questo lo apre in una nuova finestra e aggiunge una categoria di collegamenti

A proposito, nel caso in cui qualcuno si chieda cosa farne, salvalo come segnalibro, quindi puoi fare clic sul segnalibro per eseguire l’azione

---

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [16 Luglio 2025, 8:20pm UTC](https://meta.discourse.org/t/chrome-firefox-extension-share-to-discourse/21104/29 "2025-07-16T20:20:11Z")

</div>

questo è un argomento impegnativo… come posso inserire link utili su discourse premendo un pulsante.

Suppongo che la logica non possa essere molto diversa da un pulsante “Invia a Discourse” nel foglio di condivisione di iOS.

Questo potrebbe essere programmato come segue;

- Ricevi l’input dal foglio di condivisione, il pulsante sul foglio di condivisione sarà il nome del collegamento rapido
- Ottieni `testo` dall’input del collegamento rapido
- Testo ook (parte della parola Look come in “Guarda cosa ho trovato su”)
- Testo I (come in “Ho trovato”)
- Testo Sorgente: (come dire da dove proviene l’URL)
- Testo heck (parte della parola Check come in “Dai un’occhiata a cosa ho trovato”)
- Se uno qualsiasi dei testi sopra è il testo di input
- Sostituisci Sorgente: con voglio solo un link
- Ottieni URL da questo
- Ottieni host
- Ottieni percorso
- Ottieni query
- Codifica host, percorso, ?, quindi query, come URL
- Testo `https://yourdomain.co.uk/new-topic?title=Shared%20from%20iOS&body=https://[URL codificato]`
- Apri quel testo in Safari

Altrimenti

- Se il testo di input del collegamento rapido contiene [g.co](http://g.co)
- Abbina https?://(.\*) nel testo
- Ottieni il gruppo all’indice 1 nelle corrispondenze
- Testo `https://yourdomain.co.uk/new-topic?title=Shared%20from%20iOS&body=https://[il testo]`
- Apri quel testo in Safari

Altrimenti

- Se il testo di input del collegamento rapido contiene youtube
- ottieni host
- ottieni percorso
- ottieni query
- codifica
- testo dell’URL del forum
- apri in safari

Altrimenti

- il testo è solo testo
- lascia che il corpo sia il testo

🤣

---

<div class="post-metadata">

### Author: ![pacharanero](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pacharanero/32/500583_2.png) [@pacharanero](https://meta.discourse.org/u/pacharanero)
#### Post date: [29 Dicembre 2025, 4:12pm UTC](https://meta.discourse.org/t/chrome-firefox-extension-share-to-discourse/21104/30 "2025-12-29T16:12:30Z")

</div>

Penso che questa estensione di Chrome che ho creato possa fornire alcune delle funzionalità richieste qui. Il feedback è molto gradito, idealmente nell’Argomento sottostante per mantenere tutto insieme.

> [@'Clip To Discourse' Chrome Extension](https://meta.discourse.org/t/clip-to-discourse-chrome-extension/392335):
>
> Dear Discourse Community, here’s my little wrapped_gift Christmas present christmas_tree to you all. It’s simple but useful, and was built purely because I wanted it. Inspired by [Simon Willison’s great blog about using LLMs for development](https://simonwillison.net/2025/Dec/15/porting-justhtml/), I vibe-coded this over Christmas, in between social events, watching movies, and wrapping presents! I wrote none of the code, but I have reviewed code and supervised the LLM. Everything was driven from spec.md and roadmap.md. What is it for? I use a s…

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [30 Dicembre 2025, 10:52am UTC](https://meta.discourse.org/t/chrome-firefox-extension-share-to-discourse/21104/31 "2025-12-30T10:52:20Z")

</div>

> [@david](#):
>
> Se vuoi un link di condivisione nel tuo browser, crea un bookmarklet con il javascript
> 
> ```plaintext
> javascript:window.location="https://meta.discourse.org/new-topic?title="+window.location
> 
> ```
> 
> (sostituisci [meta.discourse.org](http://meta.discourse.org) con l’istanza di discourse a cui vuoi condividere).

Esempio video per coloro che vogliono vederlo in azione:

[Pagina precedente](https://meta.discourse.org/t/chrome-firefox-extension-share-to-discourse/21104.md?page=1)
