Install the Script: Install the Tampermonkey script in your browser.
Go to a Steam Profile: Navigate to any Steam user's profile (either through their custom URL or Steam ID).
Wait and Refresh: After a few seconds, refresh the page [F5 or CTRL+R]. The script will automatically join all public groups that the profile is a part of.
Repeat if Needed: If you notice that some groups have not been joined, simply refresh the page a few more times. Occasionally, there may be a minor glitch, but multiple refreshes should ensure all groups are joined.