0
When I try to compress an extension I’m creating for Google Chrome, I get the message below:
Package extension error
Failed to issue private key.
I can "Load Without Compaction" and run it perfectly.
Code below:
popup.html:
<!doctype html>
<html>
<head>
<title>Hello World</title>
</head>
<body>
<h1>Hello World!</h1>
</body>
<script type='text/javascript' src='./jquery.min.js'></script>
<script type='text/javascript' src='./scripts.js'></script>
</html>
js scripts.:
$(document).ready(function () {
if ($('.LoginScreen').length > 0) {
$("#username").val("usuarioteste");
$("#password").val("senhateste");
$("form[name='loginForm'] .DwtButton").click();
}
});
manifest.json:
{
"name": "Auto Complete Zimbra",
"version": "1.1",
"description": "Extensão para autocompletar e logar automaticamente no Zimbra!",
"manifest_version": 2,
"browser_action": {
"default_icon": "favicon.ico",
"default_popup": "popup.html"
},
"permissions": [
"*://*.meusite.com.br/*"
],
"content_scripts": [
{
"matches": [
"*://*.meusite.com.br/*"
],
"js": [
"jquery.min.js",
"scripts.js"
]
}
]
}