🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

Greasy Fork is available in English.

📂 缓存分发状态(共享加速已生效)
🕒 页面同步时间:2025/12/27 21:47:14
🔄 下次更新时间:2025/12/27 22:47:14
手动刷新缓存

steamcommunity-enable-html-rendering

让Steam创意工坊正常渲染更新日志中的HTML代码。

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

// ==UserScript==
// @name            steamcommunity-enable-html-rendering
// @name:en         steamcommunity-enable-html-rendering
// @namespace       http://tampermonkey.net/
// @version         0.2
// @description     让Steam创意工坊正常渲染更新日志中的HTML代码。
// @description:en  Let the Steam Workshop render the HTML code in the update log normally.
// @author          青青草原专业抓羊
// @match           https://steamcommunity.com/sharedfiles/filedetails/changelog/*
// @icon            https://www.google.com/s2/favicons?sz=64&domain=steamcommunity.com
// @homepage        https://greasyfork.org/zh-CN/scripts/478772-steamcommunity-enable-html-rendering
// @license         MIT
// @grant           none
// ==/UserScript==

(function() {
    'use strict';

    function htmlDecode(input) {
        var ret = input.replace(/>/g, '>');
          ret = ret.replace(/&lt;/g, '<');
          ret = ret.replace(/&quot;/g, '"');
          ret = ret.replace(/&apos;/g, "'");
          ret = ret.replace(/&amp;/g, '&');
          return ret;
    }

    var logList = document.querySelectorAll("#profileBlock > div > p");
    logList.forEach(element => {
        element.innerHTML = htmlDecode(element.innerHTML);
    });
})();