MeFi replace quote label

Replace the label on the quote button

Versão de: 28/03/2025. Veja: a última versão.

// ==UserScript==
// @name         MeFi replace quote label
// @namespace    https://github.com/klipspringr/mefi-scripts
// @version      2025-03-28-b
// @description  Replace the label on the quote button
// @author       Klipspringer
// @match        *://*.metafilter.com/*
// @grant        none
// @license      MIT
// ==/UserScript==

(async () => {
  if (!/^\/(\d|comments\.mefi)/.test(window.location.pathname)) return;

  const to = "↩ ";
  document
    .querySelectorAll('a[class="quotebutton"]')
    .forEach((node) => (node.textContent = to));
})();
长期地址
遇到问题?请前往 GitHub 提 Issues。