Change CSGOLounge font color

The font color on the new trade page is white, which clashes

  1. // ==UserScript==
  2. // @name Change CSGOLounge font color
  3. // @namespace https://greasyfork.org/en/users/28684
  4. // @description The font color on the new trade page is white, which clashes
  5. // @description with the white background, so you can use this script to fix
  6. // @description that issue.
  7. // @include https://csgolounge.com/addtrade
  8. // @version 1
  9. // @grant just use the code it's really not even worth money ^^
  10. // ==/UserScript==
  11.  
  12. $(document).ready(function(){
  13. /* this is really the only piece of code you need, you can change the color
  14. ** here if you want a different color
  15. */
  16. document.getElementById("notes").style.color = "black";
  17.  
  18. /* you can just change the color in the last part (so change #D7D7D7 to a
  19. ** color by just writing the color), which will keep the gradient effect, or
  20. ** just write a color instead, which will make it a solid color. In any case,
  21. ** you'll have to remove the // in the beginning of the line for it to
  22. ** take effect
  23. */
  24. //document.getElementById("notes").style.background = "radial-gradient(ellipse at 0 0, #BBB 0%, #D7D7D7 50%)";
  25. });