Advertisement
Guest User

2ch_black_text_color.user.js

a guest
Oct 16th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         2ch black text color
  3. // @namespace    http://tampermonkey.net/
  4. // @version      0.1.0
  5. // @description  try to take over the world!
  6. // @author       You
  7. // @match        http*://2ch.hk*/*
  8. // @grant        none
  9. // @run-at       document-end
  10. // ==/UserScript==
  11.  
  12. (function() {
  13.     "use strict";
  14.  
  15.     var hds = document.getElementsByTagName("head"),
  16.         stl = document.createElement("style"),
  17.         // css = ".fm__header,.ananimas,.posttime,.post-message,.reflink a {color:#000 !important}";
  18.  
  19.         // Если нужно чтобы и для заголовка был черный цвет - это закоментируй, верхнее раскоментируй.
  20.         css = ".post-message {color:#000 !important}";
  21.  
  22.  
  23.     stl.type = "text/css";
  24.     stl.appendChild(document.createTextNode(css));
  25.     hds[0].appendChild(stl);
  26. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement