Good question :)
I think if it's all client-side, not logged or retained, and is not transmitted to third parties, it should be fine.
IANAL