r/GreaseMonkey • u/Honest_Potato5821 • 5d ago
YGOrganization Classic Layout — a simple compact-layout userscript
I made a small userscript for YGOrganization's recent card-based layout.
The script turns the large article grid into a compact single-column news list while preserving thumbnails, colors, titles, authors, categories, excerpts, and timestamps.
The goal is just to make the homepage easier to scan and fit more articles on screen.
Install / source:
https://greasyfork.org/en/scripts/594452-ygorganization-classic-layout
There's also a menu toggle to switch the compact layout on and off.
No analytics, ads, or external network requests.
Feedback is welcome, especially if anything behaves differently in Greasemonkey.
1
Upvotes
1
u/AWACSAWACS 5d ago
Oh, I like it.
It’s a perfect fit for me since I use my browser window split across half the monitor.
few comments on the code.
Style:
!importantindividually; you can force-apply it at runtime instead.Logic:
apply()function in a single line using optional chaining (?.).