Etymology
Today it means: In a meritless fashion. Full definition →
From meritless + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.