How is drift due to static electricity eliminated from an analytical balance?
Static charge can affect the measurements made by an analytical balance, as can magnetic materials because the mechanism in modern analytical balances involves a feedback loop between the load that is measured and an electromagnet. Insulating weighing vessels (plastic or glass) tend to accumulate static charge, especially when handled with another insulator (gloves) by the triboelectric effect.

You should first make sure that the body of the balance is grounded properly according to the manual for your model.

As a short-term solution to static charged glass, you might try arranging the sample so that it is father away from the balance. One way might be to place the sample on top of an empty sample bottle on the balance. As you mentioned, a more robust solution for discharging static build-up is to have a commercially available air ionizer nearby. The device will either produce an equal amount of positive and negative ions in the air at high voltage AC or DC electrodes, or with an ionizing radioactive material such as is found in anti-static brushes used for cleaning vinyl audio records.

If you are frequently measuring magnetic materials, many analytical balances can be configured in a bottom-loading arrangement. In this setup a platform is hooked beneath the balance, and the sample is supported sufficiently far away from the force-restoring motor so that it does not influence the measurement.