Hide Codeforces Problem Tags

Hide "Problem tags" on Codeforces problem pages to avoid spoilers

  1. // ==UserScript==
  2. // @name Hide Codeforces Problem Tags
  3. // @namespace https://example.com
  4. // @version 1.0
  5. // @description Hide "Problem tags" on Codeforces problem pages to avoid spoilers
  6. // @match https://codeforces.com/*
  7. // @match http://codeforces.com/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13.  
  14. window.addEventListener('load', () => {
  15. const tagElements = document.querySelectorAll('.tag-box');
  16. tagElements.forEach(tag => {
  17. tag.style.display = 'none';
  18. });
  19. });
  20. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址