您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Blendet beim Hovern auf MyDealz Profilseiten den vollständigen Kommentartext ein
// ==UserScript== // @name MyDealz Profilseite Kommentar-Hover-Effekt // @namespace http://tampermonkey.net/ // @version 1.0 // @description Blendet beim Hovern auf MyDealz Profilseiten den vollständigen Kommentartext ein // @author MD928835 // @license MIT // @match https://www.mydealz.de/profile/* // @grant none // ==/UserScript== (function() { 'use strict'; const style = ` .userProfile-action-comment { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; line-clamp: 3; max-height: 4.5em; } .userProfile-action-comment:hover { white-space: normal; overflow: visible; text-overflow: unset; line-clamp: unset; max-height: none; } `; const styleElement = document.createElement('style'); styleElement.textContent = style; document.head.appendChild(styleElement); })();