Guest User

Untitled

a guest
Jun 25th, 2020
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. // ==UserScript==
  2. // @name yospos.computer
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description try to take over the world!
  6. // @author You
  7. // @match https://yospos.computer/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13. addGlobalStyle('.DataList .Item, {border-left: 1px solid #00d0ff; border-right: 1px solid #00d0ff; border-top: 1px solid #00d0ff; border-bottom: 1px solid #00d0ff;}')
  14. addGlobalStyle('.DataList .Item, .MessageList .Item {border-left: 1px solid #00d0ff; border-right: 1px solid #00d0ff; border-top: 1px solid #00d0ff; border-bottom: 1px solid #00d0ff;}')
  15. addGlobalStyle('.MessageList .ItemComment .Item-Header, .MessageList .ItemDiscussion .Item-Header {background-color: rgba(0, 184, 255, 0.23)}')
  16. addGlobalStyle('.DataList .Item:last-child, .MessageList .Item:last-child {border-bottom: 1px solid #00d0ff}')
  17. addGlobalStyle('.DataList .Item.Read .Title, .DataList .Item .Title, .DataList .Item h3, .MessageList .Item.Read .Title, .MessageList .Item .Title, .MessageList .Item h3 {color: #00d0ff}')
  18. addGlobalStyle('a:hover {color: #a2f5ff !important}')
  19. addGlobalStyle('a.Bookmark:before {color: #00d0ff !important}');
  20. addGlobalStyle('.Button {background: #00d0ff !important; border: 1px solid #00d0aa !important; color: #000 !important}')
  21. addGlobalStyle('.Button:hover {background: #a2f5ff !important; border: 1px solid #a2f5ff !important; color: #000 !important}')
  22. addGlobalStyle('.Breadcrumbs .Last a {color: #00d0ff}')
  23. addGlobalStyle('.Breadcrumbs a {color: #00d0ff}')
  24. addGlobalStyle('.SearchBox form>div:after {color: #00d0ff}')
  25. })();
  26.  
  27. function addGlobalStyle(css) {
  28. var head, style;
  29. head = document.getElementsByTagName('head')[0];
  30. if (!head) { return; }
  31. style = document.createElement('style');
  32. style.type = 'text/css';
  33. style.innerHTML = css;
  34. head.appendChild(style);
  35. }
Add Comment
Please, Sign In to add comment