Greasy Fork is available in English.

[ABP issue report] Hide visited report

Hide visisted link in ABP issue report tools and dark mode support

  1. // ==UserScript==
  2. // @name [ABP issue report] Hide visited report
  3. // @name:vi [Công cụ báo cáo vấn đề ABP] Ẩn link báo cáo đã xem
  4. // @namespace ABPVN
  5. // @match https://reports.adblockplus.org/*
  6. // @grant none
  7. // @icon https://abpvn.com/icon.png
  8. // @version 1.6
  9. // @author ABPVN
  10. // @run-at document-end
  11. // @description Hide visisted link in ABP issue report tools and dark mode support
  12. // @description:vi Ẩn link đã xem trên công cụ báo cáo vấn đề của ABP và hỗ trợ chế độ tối
  13. // ==/UserScript==
  14. var styleTag = document.createElement('style');
  15. styleTag.innerHTML = `
  16. .cell-url a:visited {
  17. color: white
  18. }
  19. @media (prefers-color-scheme: dark) {
  20. body, #tip, #reports, .ui-widget-content, .label, th, td {
  21. background: #121212 !important;
  22. color: #e0e0e0 !important;
  23. }
  24. .ui-state-default, select, input, textarea, button {
  25. background: #222 !important;
  26. color: #e0e0e0 !important;
  27. }
  28. .ui-icon {
  29. filter: invert(1);
  30. }
  31. .selected {
  32. background: #333 !important;
  33. }
  34. .ui-widget-content a {
  35. color: #e0e0e0;
  36. }
  37. .cell-url a:visited {
  38. color: #121212;
  39. }
  40. th, td {
  41. border: 1px solid #e0e0e0;
  42. }
  43. a {
  44. color: #78a9ff;
  45. }
  46. .slick-headerrow-column {
  47. background: #375360 !important;
  48. }
  49. }`;
  50. document.head.appendChild(styleTag);