From bf789ac7aa0334d4be0b32ef70e210cb79d90f77 Mon Sep 17 00:00:00 2001
From: clerie <git@clerie.de>
Date: Sat, 23 Feb 2019 11:42:18 +0100
Subject: [PATCH] Cleanup scripts and add a readme

---
 README.md     | 32 ++++++++++++++++++++++++++++++++
 manifest.json |  2 +-
 script.js     |  6 ------
 3 files changed, 33 insertions(+), 7 deletions(-)
 create mode 100644 README.md
 delete mode 100644 script.js

diff --git a/README.md b/README.md
new file mode 100644
index 0000000..d06128e
--- /dev/null
+++ b/README.md
@@ -0,0 +1,32 @@
+# Just Paste My Password
+The aim of this Extension is, to get rid off the annoying password disabling by many insurances and banks.
+It is often really hard to deal with this circumstance, especially when using password managers.
+
+[Install now!](https://addons.mozilla.org/de/firefox/addon/just-paste-my-password/)
+
+## Supported websites
+- meine.ikk-suedwest.de
+
+## Installation
+### Firefox
+#### Using Firefox Add-ons (recommended)
+Add to Firefox:
+https://addons.mozilla.org/de/firefox/addon/just-paste-my-password/
+
+#### As development version
+1. `git clone https://github.com/clerie/just-paste-my-password.git`
+3. Open `about:debugging`
+4. Load extention temporary
+
+Die Installation besteht nur während der aktuellen Session.
+
+#### As installation file
+1. `git clone https://github.com/clerie/just-paste-my-password.git`
+2. `cd just-paste-my-password/`
+3. `zip -r -FS ../just-paste-my-password.zip *`
+4. Sign ZIP file: https://addons.mozilla.org/en-US/developers/addon/submit/distribution
+5. Add at `about:addons`
+
+## Credits
+- Idea: [Niko](https://chaos.social/@h4kor)
+- Implementation: [Clemens Riese](https://clerie.de)
diff --git a/manifest.json b/manifest.json
index db3d29f..9b5e579 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,7 +1,7 @@
 {
   "manifest_version": 2,
   "name": "Just Paste My Password",
-  "version": "0.0.1",
+  "version": "0.0.2",
 
   "description": "Re-enables password pasting, when it is blocked by the web page.",
 
diff --git a/script.js b/script.js
deleted file mode 100644
index 193904e..0000000
--- a/script.js
+++ /dev/null
@@ -1,6 +0,0 @@
-window.addEventListener ("load", unblock, false);
-
-function unblock() {
-  document.getElementByTagName("input").onpaste = () => true;
-  console.log("Loaded!");
-}