Etymology
Today it means: In a vacant manner; inanely or foolishly. Full definition →
From vacant + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.