Etymology
Today it means: In an unthoughtful manner. Full definition →
From unthoughtful + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.