From b2f658b885ba24bde2b6c817eb6ef09c5bb74927 Mon Sep 17 00:00:00 2001
From: Alpi-Laptop <a.inceismail@tourbosoft.de>
Date: Mon, 22 Nov 2021 21:01:37 +0100
Subject: [PATCH] #prepared popup for future

---
 .idea/jsonSchemas.xml | 25 +++++++++++++++++++++++++
 manifest.json         |  3 ++-
 options.html          | 14 ++++++++++++++
 options.js            |  0
 popup.html            |  2 +-
 5 files changed, 42 insertions(+), 2 deletions(-)
 create mode 100644 .idea/jsonSchemas.xml
 create mode 100644 options.html
 create mode 100644 options.js

diff --git a/.idea/jsonSchemas.xml b/.idea/jsonSchemas.xml
new file mode 100644
index 0000000..b6705e5
--- /dev/null
+++ b/.idea/jsonSchemas.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="JsonSchemaMappingsProjectConfiguration">
+    <state>
+      <map>
+        <entry key="Chrome Extension">
+          <value>
+            <SchemaInfo>
+              <option name="name" value="Chrome Extension" />
+              <option name="relativePathToSchema" value="https://json.schemastore.org/chrome-manifest.json" />
+              <option name="applicationDefined" value="true" />
+              <option name="patterns">
+                <list>
+                  <Item>
+                    <option name="path" value="manifest.json" />
+                  </Item>
+                </list>
+              </option>
+            </SchemaInfo>
+          </value>
+        </entry>
+      </map>
+    </state>
+  </component>
+</project>
\ No newline at end of file
diff --git a/manifest.json b/manifest.json
index b51db08..a8f8df5 100644
--- a/manifest.json
+++ b/manifest.json
@@ -6,7 +6,8 @@
   "background": {
     "service_worker": "background.js"
   },
-  "permissions": ["storage", "activeTab", "scripting"],
+  "options_page": "options.html",
+  "permissions": ["storage", "activeTab","declarativeContent", "scripting"],
   "action": {
     "default_popup": "popup.html",
     "default_icon": {
diff --git a/options.html b/options.html
new file mode 100644
index 0000000..297c76e
--- /dev/null
+++ b/options.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+    <link rel="stylesheet" href="button.css">
+</head>
+<body>
+<div id="buttonDiv">
+</div>
+<div>
+    <p>Here are the options :D </p>
+</div>
+</body>
+<script src="options.js"></script>
+</html>
\ No newline at end of file
diff --git a/options.js b/options.js
new file mode 100644
index 0000000..e69de29
diff --git a/popup.html b/popup.html
index fb6caa0..0e9f858 100644
--- a/popup.html
+++ b/popup.html
@@ -5,7 +5,7 @@
     <title>DigitalME</title>
 </head>
 <body>
-<button id="changeColor"></button>
+DigitalME
 <script src="popup.js"></script>
 </body>
 </html>
\ No newline at end of file
-- 
GitLab