Basic setup for an options page.

This commit is contained in:
Ryan Breen
2023-01-23 22:38:42 -05:00
parent 3027bb9037
commit 7537109c92
7 changed files with 67 additions and 19 deletions

View File

@@ -36,6 +36,9 @@
"72": "images/toolbar-72.png"
}
},
"options_ui": {
"page": "options.html"
},
"permissions": [
"storage"
],
@@ -58,4 +61,4 @@
"strict_min_version": "15.4"
}
}
}
}

View File

View File

@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script defer src="options.build.js"></script>
</head>
<body>
<h1>Settings</h1>
</body>
</html>

View File

View File

@@ -61,6 +61,7 @@
<div class="help">
<button @click='window.open("https://ursus.camp/nostore", "_blank")'>Get Help</button>
<button @click="browser.runtime.openOptionsPage()">Advanced</button>
</div>
<div class="disclaimer">