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:
parent
a34b1beddf
commit
291c8a24e8
2 changed files with 11 additions and 6 deletions
|
@ -1,3 +1,4 @@
|
||||||
<html>
<head>
|
<html>
<head>
|
||||||
|
<script type="module" src="scripts/external/jquery.js"></script>
|
||||||
<script type="module" src="scripts/popup.js">
</script>
|
<script type="module" src="scripts/popup.js">
</script>
|
||||||
</head>
</html>
|
</head></html>
|
||||||
|
|
|
@ -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.
|
// Call the main function.
|
||||||
function main() {
|
function main() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Run detection */
|
if (compat.restrict()) {
|
||||||
import {restrict} from "./compat.js";
|
|
||||||
|
|
||||||
if (!restrict()) {
|
|
||||||
main();
|
main();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue