refine raw source code opening prevention
This commit is contained in:
parent
a3c7152497
commit
1e74f8b1ea
3 changed files with 41 additions and 2 deletions
12
gui/scripts/popup.js
Normal file
12
gui/scripts/popup.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
|
||||
// Call the main function.
|
||||
function main() {
|
||||
|
||||
}
|
||||
|
||||
/* Run detection */
|
||||
import {restrict} from "./compat.js";
|
||||
|
||||
if (!restrict()) {
|
||||
main();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue