DailyWTF HTML comments shower

Shows the HTML comments in the article body

  1. // ==UserScript==
  2. // @name DailyWTF HTML comments shower
  3. // @namespace http://www.pathofexile.com/passive-skill-tree/
  4. // @description Shows the HTML comments in the article body
  5. // @include http://thedailywtf.com/Articles/*
  6. // @version 1.2
  7. // ==/UserScript==
  8.  
  9. // taken from a comment here and reformatted
  10. // http://thedailywtf.com/Articles/Connected-to-the-Connector-to-the-Connection-to-the-System.aspx
  11. b = document.querySelector('#article-page');
  12. b.innerHTML=b.innerHTML.replace(/<!--/g,'<span style="color:red;">').replace(/-->/g,'</span>');

QingJ © 2025

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