[ABP issue report] Hide visited report

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

目前為 2025-04-24 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name        [ABP issue report] Hide visited report
// @name:vi     [Công cụ báo cáo vấn đề ABP] Ẩn link báo cáo đã xem
// @namespace   ABPVN
// @match       https://reports.adblockplus.org/*
// @grant       none
// @icon        https://abpvn.com/icon.png
// @version     1.5
// @author      ABPVN
// @run-at      document-end
// @description Hide visisted link in ABP issue report tools and dark mode support
// @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
// ==/UserScript==
var styleTag = document.createElement('style');
styleTag.innerHTML = `
.cell-url a:visited {
  color: white
}
@media (prefers-color-scheme: dark) {
  body, #tip, #reports, .ui-widget-content, .label, th, td {
    background: #121212 !important;
    color: #e0e0e0 !important;
  }
  .ui-state-default, select, input, textarea, button {
     background: #222 !important;
     color: #e0e0e0 !important;
  }
  .ui-icon {
    filter: invert(1);
  }
  .selected {
    background: #111 !important;
  }
  .ui-widget-content a {
    color: #e0e0e0;
  }
  .cell-url a:visited {
    color: #121212;
  }
  th, td {
    border: 1px solid #e0e0e0;
  }
  a {
    color: #78a9ff;
  }
  .slick-headerrow-column {
    background: #375360 !important;
  }
}`;
document.head.appendChild(styleTag);