我在 Json 验证器中得到这个错误:
期待'EOF','}',',',']',得到'undefined'。
当上传到 Chrome 时,错误是:
Manifest 不是有效的 JSON。行:12,列:1,语法错误。 (这是)
有什么想法吗?谢谢
{
"name": "Smart Learning Assistant",
"version": "1.0",
"description": "A Chrome extension that helps people learn new things.",
"manifest_version": 3,
"permissions": ["tabs", "contextMenus"],
"action": {
"default_popup": "popup.html"
}
}
// popup.html
<!DOCTYPE html>
<html>
<head>
<title>Smart Learning Assistant</title>
</head>
<body>
<header>