publink-json-beautify

json.con 样式美化

  1. // ==UserScript==
  2. // @name publink-json-beautify
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description json.con 样式美化
  6. // @author huangbc
  7. // @include *://*
  8. // @license MIT
  9. // @icon https://www.google.com/s2/favicons?sz=64&domain=shb.ltd
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15. let styleElement = document.createElement('style')
  16. styleElement.textContent = `
  17. .header .row-fluid { display: none; }
  18. `
  19. document.body.append(styleElement)
  20. // Your code here...
  21. })();