Skip to content

www.linkedin.com/notifications/ by RainerR

Screenshot of www.linkedin.com/notifications/

Details

AuthorRainerR

LicenseNo License

CategoryLinkedIn

Created

Updated

Code size1.1 kB

Code checksum86eda69f

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Displays a "Wastebin" button per notification to delete a notification with just a single click.

Notes

Displays a Delete button per notification. This allows to delete a notification with just one click instead of opening the notification's context menu and click delete.

Side effect: this UserStyle hides/disables all other entries of the notification's context menu. To make them visible/usable again, you have to disable this UserStyle.

Source code

/* ==UserStyle==
@name           www.linkedin.com/notifications/
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    Displays a "Delete" button per notification. This allows to delete a notification with just one click instead of opening the notification's context menu and click delete. (Side effect: this UserStyle hides/disables all other entries of the notification's context menu. To make them visible/usable again, you have to disable this UserStyle)
@author         Rainer Rickborn (usw-dev@rigge.net)
==/UserStyle== */

@-moz-document url-prefix("https://www.linkedin.com/notifications/") {
    .nt-card-list .artdeco-dropdown__content {
        opacity: 1;
        visibility: inherit;
        z-index: 100;
        min-width: 50px;
        top: 0px;
    }

    .artdeco-dropdown__content button div {
        display: none;
    }
    
    .artdeco-dropdown__item:has(svg[data-test-icon="bell-outline-medium"]) {
        display: none;
    }

    .artdeco-dropdown__item:has(svg[data-test-icon="thumbs-down-outline-medium"]) {
        display: none;
    }
}

Reviews

No reviews yet.