From 3c20d2102a9350770c41da28d9eefae59118e793 Mon Sep 17 00:00:00 2001 From: Anton Vakhrushev Date: Wed, 22 Aug 2018 16:35:51 +0300 Subject: [PATCH] Add simple addon --- manifest.json | 23 +++++++++++++++++++++++ postify.js | 1 + 2 files changed, 24 insertions(+) create mode 100644 manifest.json create mode 100644 postify.js diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..f279fef --- /dev/null +++ b/manifest.json @@ -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"] + } + ] + +} \ No newline at end of file diff --git a/postify.js b/postify.js new file mode 100644 index 0000000..59627ae --- /dev/null +++ b/postify.js @@ -0,0 +1 @@ +console.log('Yeah!') \ No newline at end of file