Forces text wrapping.
// ==UserScript==
// @name Ponepaste force text wrapping.
// @license MIT
// @namespace https://greasyfork.org
// @version 1.0
// @description Forces text wrapping.
// @match https://ponepaste.org/*
// @grant none
// @run-at document-end
// ==/UserScript==
(function() {
'use strict';
function applyStyles() {
document.querySelectorAll('li div').forEach(el => {
el.style.setProperty('white-space', 'normal', 'important');
el.style.setProperty('overflow-wrap', 'break-word', 'important');
el.style.setProperty('word-break', 'break-word', 'important');
el.style.setProperty('max-width', '100%', 'important');
});
}
applyStyles();
})();