DailyWTF HTML comments shower

Shows the HTML comments in the article body

当前为 2014-09-23 提交的版本,查看 最新版本

// ==UserScript==
// @name        DailyWTF HTML comments shower
// @namespace   http://www.pathofexile.com/passive-skill-tree/
// @description Shows the HTML comments in the article body
// @include     http://thedailywtf.com/Articles/*
// @grant       none
// @version     1
// ==/UserScript==

// taken from a comment here and reformatted
// http://thedailywtf.com/Articles/Connected-to-the-Connector-to-the-Connection-to-the-System.aspx
b = document.querySelector('.ArticleBody');
b.innerHTML=b.innerHTML.replace(/<!--/g,'<span style="color:red;">').replace(/-->/g,'</span>');

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址