From: Andrew Lorimer Date: Tue, 20 Aug 2019 08:37:47 +0000 (+1000) Subject: clarify permissions X-Git-Url: https://git.lorimer.id.au/newtab.git/diff_plain/93d1d7c6890538402fc2f484a596cef2cc2a6c14 clarify permissions --- diff --git a/README.md b/README.md index 9b4e7aa..6fb8e71 100644 --- a/README.md +++ b/README.md @@ -32,4 +32,4 @@ Opening the crx file using Chrome's default file handler causes a "CRX_REQUIRED_ ## Building -For the time being you can run the extension as a local "unpacked" extension, but if you make modifications you may like to make a distributible crx file. You can do this with the included build script - just run `make all` in the root directory. +For the time being you can run the extension as a local "unpacked" extension, but if you make modifications you may like to make a distributible crx file. You can do this with the included build script - just run `make all` in the root directory. You'll need your own private key in newtab.pem in the root directory (Chrome can generate this from the Extensions page). diff --git a/build/newtab.crx b/build/newtab.crx new file mode 100644 index 0000000..23c8ef6 Binary files /dev/null and b/build/newtab.crx differ diff --git a/build/newtab.zip b/build/newtab.zip deleted file mode 100644 index c75da39..0000000 Binary files a/build/newtab.zip and /dev/null differ diff --git a/src/manifest.json b/src/manifest.json index c0cade4..b32b490 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -2,7 +2,7 @@ "chrome_url_overrides": { "newtab": "newtab.html" }, - "content_security_policy": "script-src 'self'; object-src 'https://google.com'", + "content_security_policy": "script-src 'self'; object-src 'self'", "manifest_version": 2, "name": "newtab", "description": "A simple new tab page with customisable links", @@ -10,6 +10,6 @@ "chrome_style": true, "page": "options.html" }, - "permissions": [ "storage", "https://google.com" ], + "permissions": [ "storage", "https://www.google.com/s2/favicons" ], "version": "2" } diff --git a/src/style.css b/src/style.css index 69e52a2..fb58bec 100644 --- a/src/style.css +++ b/src/style.css @@ -203,10 +203,6 @@ li.sortable-chosen.sortable-ghost { background-color: var(--hover-bg-2); } -.over { - /* border: 2px dashed var(--default-fg);*/ -} - span.grip { content: '....'; position: relative; @@ -230,11 +226,6 @@ span.grip::after { content: '.. .. .. ..'; } -.glyphicon-move { - cursor: move; - cursor: -webkit-grabbing; -} - .title { margin-bottom: 0.5rem; font-weight: bold;