I am building a Chrome extension to (hopefully) display the Windows Username when that person clicks the icon.
I see in Chrome when I visit chrome://version/ that there is a Profile Path which displays my username. Is it possible to use Javascript to open this file & read this profile path into a variable?
Here's my current code so far:
document.getElementById("username").value="mcgurk";
document.getElementById("password").value="*****";
document.getElementById("logon_button").click();