diff --git a/icon.png b/icon.png
index a54dd9498002d8d1ed7bf5abe171c167a21b7787..e790a17eb4ceb7b07ceb405f9953d39a5031322c 100644
Binary files a/icon.png and b/icon.png differ
diff --git a/icon64.png b/icon64.png
deleted file mode 100644
index e790a17eb4ceb7b07ceb405f9953d39a5031322c..0000000000000000000000000000000000000000
Binary files a/icon64.png and /dev/null differ
diff --git a/install.rdf b/install.rdf
deleted file mode 100644
index e8ff0c803a17a08637134a85f1462e69dad207af..0000000000000000000000000000000000000000
--- a/install.rdf
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0"?>
-<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-     xmlns:em="http://www.mozilla.org/2004/em-rdf#">
-  <Description about="urn:mozilla:install-manifest">
-    <em:id>unsafelinks@ant.sr</em:id>
-    <em:name>Un-Safelinks</em:name>
-    <em:description>Replace URLs which have been rewritten by Office 365 Advanced Threat Protection with the original URL.</em:description>
-    <em:version>1.2</em:version>
-	<em:homepageURL>https://ant.sr/unsafelinks</em:homepageURL>
-    <em:targetApplication>
-      <Description>
-        <em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id>
-        <em:minVersion>45.8.0</em:minVersion>
-        <em:maxVersion>60.*</em:maxVersion>
-      </Description>
-    </em:targetApplication>
-  </Description>
-</RDF>
diff --git a/manifest.json b/manifest.json
new file mode 100644
index 0000000000000000000000000000000000000000..58a43fd379ea61c76b45fee55423d099e90033d0
--- /dev/null
+++ b/manifest.json
@@ -0,0 +1,23 @@
+{
+    "manifest_version": 2,
+    "name": "Un-Safelinks",
+    "description": "Replace URLs which have been rewritten by Office 365 Advanced Threat Protection with the original URL.",
+    "version": "1.3",
+    "author": "Anton Sarukhanov",
+    "homepage_url": "https://github.com/antsar/unsafelinks",
+    "applications": {
+        "gecko": {
+            "id": "unsafelinks@ant.sr",
+            "strict_min_version": "68.0"
+        }
+    },
+    "permissions": [
+        "messagesRead"
+    ],
+    "icons": {
+        "64": "icon.png"
+    },
+    "legacy": {
+        "type": "xul"
+    }
+}