I would try using a suction cup. I have used a toilet plunger for doors before. May not work, but it could be worth a try. Spray some glass cleaner on to help seal.
This won't work if it is close to the edges and has , I don't believe anyway. Maybe try a suction mount phone holder?