In this niche seaweeds must withstand rapidly changing temperature and salinity and even occasional drying . In this habitat seaweeds must withstand rapidly changing temperature and salinity and even occasional drying .