In line with not displaying text that only fills space and does not help, in this case it refers to Posts.
It makes no sense to show the title of the thread in quote of the Posts, since logically he said it in that thread:
[image: 1751234229330-2025-06-28_100608.jpg]
It looks better this way:
[image: 1751234260685-2025-06-28_100721.jpg]
The script:
// ==UserScript==
// @name Vivaldi Forum : Quote Cleaner en Posts (leave only "said:")
// @namespace http://tampermonkey.net/
// @version 1.2
// @description Simplifica encabezados de citas en los Posts de Vivaldi
// @match https://forum.vivaldi.net/topic/*
// @grant none
// ==/UserScript==
(function () {
'use strict';
function simplifyQuoteHeaders(root = document) {
root.querySelectorAll('.content[component="post/content"]').forEach(content => {
const p = content.querySelector('p');
if (!p) return;
// Condición: El texto visible debe contener "said in" seguido de algo y acabar en ':'
const text = p.textContent?.trim();
if (!text || !text.match(/said in .+?:$/)) return;
const links = p.querySelectorAll('a');
if (links.length < 2) return;
const userLink = links[0].cloneNode(true);
const textNode = document.createTextNode(' said:');
// Limpiar el <p> y reconstruirlo
p.innerHTML = '';
p.appendChild(userLink);
p.appendChild(textNode);
});
}
// Aplicar al cargar
simplifyQuoteHeaders();
// Observar cambios dinámicos
const observer = new MutationObserver(mutations => {
for (const mutation of mutations) {
for (const node of mutation.addedNodes) {
if (node.nodeType === 1) {
simplifyQuoteHeaders(node);
}
}
}
});
observer.observe(document.body, {
childList: true,
subtree: true
});
})();