Depending on the chemistry of the polymers in question, pH may be more important than detergent in dispersing adhesion to the glass. I'd guess any surfactant can lower the surface tension and help things float free, but pH may disrupt the structure of the polymer, or compete with charged sites, or even mildly alter the glass surface so the polymer is released. Use base to match the pH, for starters.