So I want to make something in an html file check for the user’s username
(here are the code I want to have the user’s username in)
var TYPE = "zip",
DESIRED_USERNAME = "ScratchCat", //this is where I want the username of the glitch user to be at
COMPAT = true,
TURBO = false,
PROJECT_ID = "529297304",
WIDTH = 480,
HEIGHT = 360,
EXTENSION_URL = null,
GENERATED = 1620831346262;
also i dont know how to embed html so please excuse it
You can do code block formatting with triple backticks (```)
So, I’m not sure it’s possible to do what you’re asking without using something like OAuth to get the visitors to log into their Glitch account.
By default, when visiting a webpage, the browser doesn’t send your site any information about whether or not the user has a Glitch account or what their username is. Sorry!