I recently heard about Russian cosmonauts eating a lot of dill to counteract farting. It's apparently called a carminative, and seaweed is a carminative too.
Much better explanation and a lot more details: https://www.ncbi.nlm.nih.gov/books/NBK417/
Yeah, sure, _until you don't_. Bear in mind that it's essentially an invasive weed if you have a backyard garden. Be careful if you attempt to grow it at home, it might take over.