Pretty much title says it all. I do this every time to print ABS or ASA filament material on glass for #3dprinting. No toxic ABS juice (acetone and ABS) or hairspray required. Just a simple non-toxic Elmer's disapearing purple school glue stick.
At the end, I just add some water and rework on the hotbed surface and off I print. Of course, you see me opening up the #3dprinter encloseure. And that is one of the requirements to successfully print ASA or ABS material on glass