// ==UserScript== // @name AniList - Anti-Social // @namespace github.com/krisu5/userstyles // @version 1.0.1 // @description Simple tweaks for removing most of the social features (like the feed on front page) // @author krisu (https://github.com/krisu5) // @homepageURL https://github.com/krisu5/userstyles/tree/master/AniList%20-%20Anti-Social // @license unlicense // @grant GM_addStyle // @run-at document-start // @match *://*.anilist.co/* // @downloadURL none // ==/UserScript== (function() { let css = ` .activity-edit, .nav a[href$="social"], .home .activity-feed-wrap, .activity-feed .actions, .activity-feed [href^="/activity/"] { display: none !important; } .home { grid-template-columns: inherit !important; } .home .review-card .summary { width: 96% !important; } .home div .sense { min-height: 0 !important; } [label="Unsubscribe"], [label="Subscribe"], .extras-dropdown { position: relative !important; } .activity-feed [label="Unsubscribe"], .activity-feed [label="Subscribe"] { top: 19px !important; right: calc(-100% + 39px) !important; } .activity-feed .extras-dropdown { top: 20px !important; right: calc(-100% + 37px) !important; } .activity-extras-dropdown { overflow: hidden !important; } .activity-feed .has-label[label="Unsubscribe"]:hover:before, .activity-feed .has-label[label="Subscribe"]:hover:before { top: -31px !important; left: inherit !important; right: calc(-100% - 8px) !important; } `; if (typeof GM_addStyle !== "undefined") { GM_addStyle(css); } else { const styleNode = document.createElement("style"); styleNode.appendChild(document.createTextNode(css)); (document.querySelector("head") || document.documentElement).appendChild(styleNode); } })();