Background Service
This article will describe the basic concepts of background service plugins.
{
"main":
{
"serviceMode": true, // main difference
"url": "index.html",
"width": 640,
"height": 480
}
}{
"id": "LBCZEHP8BBO94",
"version": "1.0.0",
"name": "Service Plugin",
"logo": "/logo.png",
"keywords": [],
"main":
{
"serviceMode": true,
"url": "index.html",
"width": 640,
"height": 480
}
}
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<script type="text/javascript" src="js/plugin.js"></script>
</head>
<body>
<div>Background services can be without UI, but you can still display the status of background services here.</div>
</body>
</html>Last updated