Black Dot Window Edging Removal

Does anyone know how to remove this shit off windows?

It’s really annoying on the t tops and I was wondering if anyone knew what to use that could work.