wayBetter for X

This commit is contained in:
CRTkafa 2026-09-30 23:01:13 +00:00
commit ae6ed24700
720 changed files with 147465 additions and 0 deletions

View file

@ -0,0 +1,19 @@
/**
* @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');
}
};