While the addition of a few grains of uncooked rice or salt might help absorb excess moisture inside the mayonnaise jar, it is not a reliable or safe method to keep mayonnaise outside the refrigerator for an extended period.
Mayonnaise is a perishable food item that contains eggs and oil, making it susceptible to bacterial growth and spoilage if not stored properly. Bacteria thrive in warm and moist environments, which is why it's essential to refrigerate mayonnaise after opening the jar to keep it safe for consumption.
Using rice or salt as a desiccant might slightly reduce the moisture inside the jar, but it won't eliminate the risk of bacterial growth entirely. Additionally, the effectiveness of this method is limited, and the mayonnaise can still spoil if left outside the refrigerator for an extended period.
To ensure the safety and quality of mayonnaise, it's best to store it in the refrigerator at all times, following the manufacturer's recommendations. If you plan to take mayonnaise with you for picnics or outdoor events, it's essential to keep it in a cooler with ice packs to maintain a safe temperature and prevent spoilage.