CF Hide Problem Info

For ICPC training, hide problem names and which teams solved which problems

目前为 2024-10-13 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name CF Hide Problem Info
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0
  5. // @description For ICPC training, hide problem names and which teams solved which problems
  6. // @author You
  7. // @match https://codeforces.com/*
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=codeforces.com
  9. // @grant GM_addStyle
  10. // @run-at document-start
  11. // @license MIT
  12. // ==/UserScript==
  13.  
  14. (function() {
  15. GM_addStyle(`
  16. a[title='Participants solved the problem'] {
  17. display: none !important;
  18. }
  19. a[title='Количество решивших задачу'] {
  20. display: none !important;
  21. }
  22. td[problemid] > span {
  23. visibility: hidden
  24. }
  25. img[class='standings-flag'] {
  26. display: none !important;
  27. }
  28. img[title='Ghost participant'] {
  29. display: none !important;
  30. }
  31. img[title='Участник-призрак'] {
  32. display: none !important;
  33. }
  34. td[class^='contestant'] {
  35. font-size: 0px !important;
  36. }
  37. td[class^='contestant'] > a {
  38. display: none !important;
  39. }
  40. td[class^='contestant'] > sup {
  41. display: none !important;
  42. }
  43. td[class^='contestant'] > span {
  44. display: none !important;
  45. }
  46. td[class^='time-consumed-cell'] {
  47. font-size: 0px !important;
  48. }
  49. td[class^='memory-consumed-cell'] {
  50. font-size: 0px !important;
  51. }
  52. span[class='cell-passed-system-test cell-accepted'] {
  53. display: none !important;
  54. }
  55. tr[class='standingsStatisticsRow'] {
  56. display: none !important;
  57. }
  58. table[class='problems'] > tbody > tr > td:not([class^='id']) > div {
  59. display: none !important;
  60. }
  61. `)
  62. })();