Try mineral spirits for butyl base sealers on glass.
For window frames:
The frames windows
normally come with a foam seal with limited life. When resealing windows
they make a wide black butyl tape which is prone to ooze out during summer heat. To trim it off use a plastic putty knife (Wal Mart sells them. $.59) The plastic tip does not scratch your surface. Use the tip of the edge to go around the frame then remove the trimmed material. Mineral spirits cleans up the butyl tape residue off the trailer. I just re-installed two windows
yesterday, cleaned up with no issues.