create and test initial extension pop-up interface

It is not referring to what's injected, but the way this'll happen will 
be a bit relevant to it…
This commit is contained in:
buzz-lightsnack-2007 2024-03-19 09:43:56 +08:00
parent a34b1beddf
commit 291c8a24e8
2 changed files with 11 additions and 6 deletions

View file

@ -1,3 +1,4 @@
<html> <head>
<script type="module" src="scripts/external/jquery.js"></script>
<script type="module" src="scripts/popup.js"> </script>
</head> </html>
</head></html>

View file

@ -1,12 +1,16 @@
/* Popup.js
Build the interface for popup
*/
// Import modules.
import compat from "./compat.js";
import texts from "./read.JS";
// Call the main function.
function main() {
}
/* Run detection */
import {restrict} from "./compat.js";
if (!restrict()) {
if (compat.restrict()) {
main();
}