/** * @name Hide Trends * @description Example plugin: hides "What's happening" and "Who to follow" in the right column. Enable it from wayBetter → Plugins. * @version 1.0.0 * @author wayBetter * @permissions network:none */ module.exports = class HideTrends { start() { window.wayBetter.api.injectCSS('hide-trends', ` [data-testid="sidebarColumn"] section[aria-labelledby^="accessible-list"], [data-testid="sidebarColumn"] aside[aria-label] { display: none !important; } `); } stop() { window.wayBetter.api.clearCSS('hide-trends'); } };