Die Popup.html-Datei wird nicht geöffnet, wenn ich auf die Erweiterungsschaltfläche klicke. Die Chrome-Erweiterung ändert auch das NewTab über die Datei main.html. Aber das Popup wird nicht angezeigt, auch nicht die Schaltfläche "inspect Pop Up". Warum passiert dies?Popup.html nicht in Chrome-Erweiterung öffnen
manifest.json:
{
"name": "Name",
"description": "Add description",
"version": "0.1.9.2",
"browser_action": {
"default_icon": "icon.png",
"default_popup": "popup.html"
},
"permissions": [
"activeTab"
],
"chrome_url_overrides" : {
"newtab": "main.html"
},
"background": {
"scripts": ["jquery-2.2.3.min.js", "background.js"],
"persistent": false
},
"icons": { "16": "icon16.png",
"24": "icon24.png",
"32": "icon32.png",
"48": "icon48.png",
"64": "icon64.png",
"128": "icon128.png",
"256": "icon256.png",
"512": "icon512.png"
},
"permissions": [
"activeTab",
"https://ajax.googleapis.com/",
"storage",
"tabs",
"http://*/*",
"https://*/*"
],
"browser_action": {
"default_title": "app"
},
"manifest_version": 2
}
Popup.html:
<!doctype html>
<html>
<head>
<style type="text/css">
body {
width: 200px;
height: 200px;
}
</style>
</head>
<body>
TEXT TEXT TEXT
</body>
</html>
Vielen Dank, @Xan. Wird so schnell wie möglich angenommen. –