From 7f6ef4d0b23c513fd689e0720bd3e8a601a8447f Mon Sep 17 00:00:00 2001 From: Maxim Stewart Date: Sat, 2 May 2020 06:29:14 -0500 Subject: [PATCH] initial push... --- README.md | 12 ++++++++++-- src/images/icons/template.png | Bin 0 -> 190 bytes src/manifest.json | 29 +++++++++++++++++++++++++++++ src/pages/template.html | 13 +++++++++++++ src/scripts/events.js | 6 ++++++ src/scripts/template.js | 0 src/styles/styles.css | 4 ++++ 7 files changed, 62 insertions(+), 2 deletions(-) create mode 100644 src/images/icons/template.png create mode 100644 src/manifest.json create mode 100755 src/pages/template.html create mode 100644 src/scripts/events.js create mode 100644 src/scripts/template.js create mode 100644 src/styles/styles.css diff --git a/README.md b/README.md index 1e7cbf0..24983bb 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,10 @@ -# Firefox-Plugin-Template -This is a template to quickly start developing a Firefox plugin/extension. +# template + +template works to improve... +
+ + +# Download +https://addons.mozilla.org/en-US/firefox/addon/ + +# Version: 1.0.0 diff --git a/src/images/icons/template.png b/src/images/icons/template.png new file mode 100644 index 0000000000000000000000000000000000000000..eb556c59264f7546d4cf102006ffccd51d0f9082 GIT binary patch literal 190 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDA1|-9oezpTCwj^(N7l!{JxM1({$v_d#0*}aI z1_o|n5N2eUHAey{$X?><>&pI+M}SdIz(;WIRG^STiEBiObAE1aYF-J0b5UwyNotBh zQl)}#Vnt@ILU2iHd16t?frDSK0@ccUx;Tbp+`8k?L0nH)KbLh*2~7aY3owiT literal 0 HcmV?d00001 diff --git a/src/manifest.json b/src/manifest.json new file mode 100644 index 0000000..9c731a1 --- /dev/null +++ b/src/manifest.json @@ -0,0 +1,29 @@ +{ + "manifest_version": 2, + "name": "template", + "version": "1.0.0", + "description": "template.", + + "applications": { + "gecko": { + "id": "template@itdominator.com" + } + }, + + "icons": { + "48": "images/icons/template.png", + "96": "images/icons/template.png" + }, + + "permissions": [ + "activeTab", + "tabs" + ], + + "browser_action": { + "default_icon": "images/icons/template.png", + "default_title": "template", + "default_popup": "pages/template.html" + } + +} diff --git a/src/pages/template.html b/src/pages/template.html new file mode 100755 index 0000000..04ca240 --- /dev/null +++ b/src/pages/template.html @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/src/scripts/events.js b/src/scripts/events.js new file mode 100644 index 0000000..2fb3b98 --- /dev/null +++ b/src/scripts/events.js @@ -0,0 +1,6 @@ +document.addEventListener("click", (e) => { + if (e.button == 0) { // Left click + if (e.target.tagName == "") { + } + } +}); diff --git a/src/scripts/template.js b/src/scripts/template.js new file mode 100644 index 0000000..e69de29 diff --git a/src/styles/styles.css b/src/styles/styles.css new file mode 100644 index 0000000..f23efec --- /dev/null +++ b/src/styles/styles.css @@ -0,0 +1,4 @@ +body, html { + padding: 0em; + margin: 0em; +}