make sure the glass is clean,
a few mins in boiling water will likely make the suction cups more flexible and therefore more likely to stick to the glass.
Probably cheapest long term to buy a non-contact IR thermometer when they go on sale at Amazon, or Harbor freight or wherever.