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