T:

E: info@aliceinwonderland.jp

Hoyu building 5F,3-20-6
Marunouchi,Naka-ku,Nagoya,Aichi
460-0002,Japan

名古屋でモデルキャスティングするなら
株式会社アリス・イン・ワンダーランド

SCROLL

モデルのご応募はこちら

ENTRY

-button Class --btn Btn-xs Btn-default Quote-post-- Data-posted By --jessdavo-- Data-target --post-form-- _verified_

Client-side quoting can be abused to flood the reply box. Add a short debounce:

In modern web development, forums, comment sections, and social platforms require a seamless way to quote a previous post while replying. A common front-end pattern is a button like: Client-side quoting can be abused to flood the reply box

The code fragment you provided describes a Quote-Post button commonly found in forum software built with the Bootstrap 3 framework const author = btn.dataset.postedBy

Should the tone be more , or sassy and entertaining ? // "Jessdavo" const targetId = btn.dataset.target

document.querySelectorAll('.quote-post').forEach(btn => btn.addEventListener('click', (e) => const author = btn.dataset.postedBy; // "Jessdavo" const targetId = btn.dataset.target; // "post-form" const originalMessageElement = btn.closest('.post').querySelector('.post-content'); const originalText = originalMessageElement.innerText; buildQuote(author, originalText, targetId);