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