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)
    1. yarn run build (or npm run build) -
    2. Rename manifest-chrome.json in the "manfiest" folder to manifest.json in "build" (replace the one created by React) +
    3. Rename manifest-chrome.json in the "manfiest" folder to manifest.json in "build"
    4. Visit chrome://extensions in Chrome
    5. Click Load unpacked (Make sure Developer Mode is on)
    6. 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)
      1. yarn run build (or npm run build) -
      2. Rename manifest-opera.json in the "manfiest" folder to manifest.json in "build" (replace the one created by React) +
      3. Rename manifest-opera.json in the "manfiest" folder to manifest.json in "build"
      4. Visit about://extensions in Opera
      5. Click Load unpacked extension... (Make sure Developer Mode is on)
      6. 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.
        1. yarn run build (or npm run build) -
        2. Rename manifest-firefox.json in the "manfiest" folder to manifest.json in "build" (replace the one created by React) +
        3. Rename manifest-firefox.json in the "manfiest" folder to manifest.json in "build"
        4. Move manifest/background-opera.js to build/background-opera.js
        5. Visit about:debugging#addons in Firefox
        6. 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!
            +
          1. yarn run build (or npm run build)
          2. Open the index.html in your browser
          3. 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