174
rated 0 times
[
179]
[
5]
/ answers: 1 / hits: 36969
/ 11 Years ago, wed, march 27, 2013, 12:00:00
I'm newbie in google chrome extention delveopment.
I'm trying to develop a simple extension and i keep getting the error above.
my manifest:
{
name: set my favourties,
description : just another super awesome plugin,
version : 0.1,
background: {
page: backround.html
},
manifest_version: 2,
content_security_policy: script-src 'self' https://www.google.com; object-src 'self',
browser_action :{
popup : popup.html,
default_icon : icon.gif
},
permissions : [notifications]
}
the html code:
<html>
<head>
<script src = backround.js>
</script>
</head>
<body onload = loadHandler()>
</body>
</html>
and the js:
function loadHandler(){
window.webkitNotifications.createNotification(icon.gif,Plugin Loaded,it was loaded).show();
}
thanks in advance
Nir
More From » google-chrome-extension