diff --git a/.idea/jsonSchemas.xml b/.idea/jsonSchemas.xml new file mode 100644 index 0000000000000000000000000000000000000000..b6705e53bb2a1359e2e64d53a7ffabbc40e8a127 --- /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 b51db085c9c595294d125ff4e011a7f59ee40c62..a8f8df5c7906c63a61c2d7f34fd2e6f51ef5a0d8 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 0000000000000000000000000000000000000000..297c76e330e2c491ab85c6c44a876d9753db4f15 --- /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 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/popup.html b/popup.html index fb6caa0ed8ba5ebd1a785981c6734b6f7dddc84d..0e9f858af5f1e9f40df105d68c38e1ec440abd73 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