Add simple addon

This commit is contained in:
Anton Vakhrushev 2018-08-22 16:35:51 +03:00
commit 3c20d2102a
2 changed files with 24 additions and 0 deletions

23
manifest.json Normal file
View File

@ -0,0 +1,23 @@
{
"manifest_version": 2,
"name": "Postify",
"version": "1.0",
"description": "Post current url to external web-server.",
"applications": {
"gecko": {
"id": "postify@mozilla.org",
"strict_min_version": "45.0"
}
},
"content_scripts": [
{
"matches": ["*://*.mozilla.org/*"],
"js": ["postify.js"]
}
]
}

1
postify.js Normal file
View File

@ -0,0 +1 @@
console.log('Yeah!')