Greasy Fork is available in English.
Add Reddit's native Join/Joined button with 2-column grid layout, using /subreddits/mine for accurate state
Add Reddit’s native Join/Joined button to each subreddit row inside .community-list on reddit.com, using the official shreddit-join-button web component. The script detects whether you already subscribe to a subreddit and reflects the correct state.
shreddit-join-button into each .community-list row./r/{sub}/about.json to respect existing subscriptions.@grant none).This is a userscript designed for browser managers like Tampermonkey, Violentmonkey, or Greasemonkey.
reddit-join/main.js into the new userscript.https://www.reddit.com/ and open a page that contains a .community-list (e.g., community discovery/explore pages). Buttons will appear automatically..community-list, each subreddit entry shows a Join/Joined button on the right.Join subscribes you to the subreddit; Joined indicates you’re already subscribed.Join.r/funny → funny) and caches subscription state to avoid repeated requests.https://www.reddit.com/r/{name}/about.json with credentials to determine user_is_subscriber.shreddit-join-button for each row with appropriate attributes (name, subreddit ID, labels, and styles).Join..community-list) and component APIs; changes by Reddit may require updates.Join.reddit-join/main.js and reload the page to test changes.document-idle and matches all https://www.reddit.com/* pages.