Skip to content

Instantly share code, notes, and snippets.

@mitchallen
Created February 26, 2023 11:21
Show Gist options
  • Save mitchallen/0da092c82115838ecf990c786ce44705 to your computer and use it in GitHub Desktop.
Save mitchallen/0da092c82115838ecf990c786ce44705 to your computer and use it in GitHub Desktop.
Example options.html file for a Chrome Extension (Manifest V3)
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Options Page</title>
</head>
<body>
<h1>Options Page</h1>
<form>
<label for="color-input">Page Background Color:</label>
<input type="color" id="color-input" name="color" value="#ffffff">
<button type="submit">Save</button>
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment