JavaScript Weekly Sponsor Marker

标记sponsor内容,能一眼看出是广告(Reduce the presence of sponsors' content)

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         JavaScript Weekly Sponsor Marker
// @namespace
// @include      *://javascriptweekly.com/issues/*
// @include      *://frontendfoc.us/issues/*
// @version      0.2.0
// @description  标记sponsor内容,能一眼看出是广告(Reduce the presence of sponsors' content)
// @author       ymzhao
// @namespace 
// @license      MIT
// @grant        GM_addStyle
// ==/UserScript==
GM_addStyle(`
    table.el-item:has(.tag-sponsor) {
        background-color: #f3f2f5;
        filter: opacity(0.36) !important;
        transition: filter 0.26s ease;
    }
    table.el-item:has(.tag-sponsor):hover {
        filter: opacity(0.88) !important;
    }
`);