diff --git a/README.md b/README.md
index dec86b00..ebf09c73 100644
--- a/README.md
+++ b/README.md
@@ -47,17 +47,15 @@ Development/Other: Read the [Development](#development) section.
download and click Download ZIP)
Open a terminal and run these commands: (in the Mue directory)
yarn (or npm i)
- yarn run all (or npm run all)
+ yarn start (or npm start)
Start developing! (See the sections below for how to set up a developer copy of the extension.)
Building
-This section is a work in progress, and doesn't include the manual edits you are required to do to get it working without errors.
-Once I find a method to do it automatically, I will update this section accordingly.
Chrome (Click to expand)
-
yarn run build (or npm run build)
- - Rename
manifest-chrome.json in the "manfiest" folder to manifest.json in "build" (replace the one created by React)
+ - Rename
manifest-chrome.json in the "manfiest" folder to manifest.json in "build"
- Visit
chrome://extensions in Chrome
- Click Load unpacked (Make sure Developer Mode is on)
- Go to the directory containing the built copy of Mue and click ok
@@ -67,7 +65,7 @@ Once I find a method to do it automatically, I will update this section accordin
Opera (Click to expand)
-
yarn run build (or npm run build)
- - Rename
manifest-opera.json in the "manfiest" folder to manifest.json in "build" (replace the one created by React)
+ - Rename
manifest-opera.json in the "manfiest" folder to manifest.json in "build"
- Visit
about://extensions in Opera
- Click Load unpacked extension... (Make sure Developer Mode is on)
- Go to the directory containing Mue and click ok
@@ -78,7 +76,7 @@ Once I find a method to do it automatically, I will update this section accordin
Note: I'm currently trying to find a better method to do this, but this works for now.
-
yarn run build (or npm run build)
- - Rename
manifest-firefox.json in the "manfiest" folder to manifest.json in "build" (replace the one created by React)
+ - Rename
manifest-firefox.json in the "manfiest" folder to manifest.json in "build"
- Move
manifest/background-opera.js to build/background-opera.js
- Visit
about:debugging#addons in Firefox
- Click Load Temporary Add-on
@@ -90,6 +88,7 @@ Once I find a method to do it automatically, I will update this section accordin
Other (Click to expand)
Note: To get the full new tab experience, set your browser to open the index.html on startup and tab open!
+ -
yarn run build (or npm run build)
- Open the
index.html in your browser
- Enjoy your new tab!
diff --git a/manifest/chrome.json b/manifest/chrome.json
index 1f9f7c13..82ee7dc2 100644
--- a/manifest/chrome.json
+++ b/manifest/chrome.json
@@ -9,5 +9,6 @@
},
"chrome_url_overrides": {
"newtab": "index.html"
- }
+ },
+ "content_security_policy": "script-src 'self' 'unsafe-eval' 'sha256-Q/fJeEyXf7ZhxjXeAydpu6mDGAmyqvj93tDPNxGThn0='; object-src 'self'"
}
\ No newline at end of file