quickMention

Double click on nickname in the right menu to quickly mention the user

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

You will need to install an extension such as Tampermonkey to install this script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name         quickMention
// @namespace    https://gist.github.com/yegorgunko
// @version      0.4
// @description  Double click on nickname in the right menu to quickly mention the user
// @author       Yegor Gunko
// @match        https://shikme.ru/
// @icon         https://shikme.ru/default_images/icon.png?v=1528136794
// @grant        none
// ==/UserScript==
const quickMention=()=>{document.body.addEventListener("dblclick",e=>{if(e.target.classList.contains("username")){const t=document.getElementById("content");t.value+=`${e.target.innerHTML}, `,t.focus()}})};document.addEventListener("DOMContentLoaded",void document.body.addEventListener("dblclick",e=>{if(e.target.classList.contains("username")){const t=document.getElementById("content");t.value+=`${e.target.innerHTML}, `,t.focus()}}),!1);