DailyWTF HTML comments shower

Shows the HTML comments in the article body

// ==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/*
// @version     1.2
// ==/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('#article-page');
b.innerHTML=b.innerHTML.replace(/<!--/g,'<span style="color:red;">').replace(/-->/g,'</span>');
长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元