I would like to use the user name of a logged in user in JavaScript without server side implementation.
Since I'm using a cache plugin (WP Super Cache), I don't want to place a user name into the generated HTML output of WordPress. But I would like to use it to fill a contact form, if the user is already logged in.
Is there a way without a separate AJAX request?