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