Brainslayer DD-WRT Theme Improver

Improves the functionality of the brainslayer theme for DD-WRT

当前为 2018-05-21 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Brainslayer DD-WRT Theme Improver
  3. // @version 1
  4. // @match http://192.168.0.1/*
  5. // @match http://192.168.1.1/*
  6. // @match http://192.168.2.1/*
  7. // @match http://10.0.0.1/*
  8. // @match http://10.0.1.1/*
  9. // @match https://192.168.0.1/*
  10. // @match https://192.168.1.1/*
  11. // @match https://192.168.2.1/*
  12. // @match https://10.0.0.1/*
  13. // @match https://10.0.1.1/*
  14. // @description Improves the functionality of the brainslayer theme for DD-WRT
  15. // @grant none
  16. // @namespace https://greasyfork.org/users/1783
  17. // ==/UserScript==
  18.  
  19. let el = document.querySelector('div.submitFooter')
  20. el.style.position = 'fixed'
  21. el.style.backgroundColor = '#FAF9F9'
  22. el = document.querySelector('div#menu')
  23. el.style.backgroundColor = '#FAF9F9'
  24. el = document.querySelector('iframe#syslog')
  25. if (el) {
  26. document.querySelector('div#content').id = 'main'
  27. }