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