Skip to content

Commit

Permalink
Minor extension manifest tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmilton committed Oct 24, 2021
1 parent ef91a9d commit 02931ac
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions manifest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ const manifest = {
description:
'⚡ A high performance new tab page that gets you where you need to go faster.',
version: pkg.version,
version_name: process.env.GITHUB_REF
? process.env.GITHUB_REF.replace('refs/tags/v', '')
: gitRef().replace(/^v/, ''),
version_name: process.env.GITHUB_REF ? undefined : gitRef().replace(/^v/, ''),
homepage_url: pkg.homepage,
icons: {
16: 'icon16.png',
Expand Down Expand Up @@ -47,11 +45,11 @@ const manifest = {
incognito: 'not_allowed',
content_security_policy:
"default-src 'none';"
// hash of inline theme loader script embedded in the HTML
+ " script-src-elem 'self' 'sha256-N5HgwudrK2iZWAvytRoTz8UeLeW+Lc/QQLSVUFL/z/0=';"
// app styles are embedded in the HTML for fastest load performance
+ " style-src-elem 'unsafe-inline';"
+ ' img-src chrome://favicon;',
// Hash of inline theme loader script embedded in the HTML
+ "script-src-elem 'self' 'sha256-N5HgwudrK2iZWAvytRoTz8UeLeW+Lc/QQLSVUFL/z/0=';"
// App styles are embedded in the HTML for fastest load performance
+ "style-src-elem 'unsafe-inline';"
+ 'img-src chrome://favicon;',

// https://chrome.google.com/webstore/detail/new-tab/cpcibnbdmpmcmnkhoiilpnlaepkepknb
key: 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAk9BfRa5CXuCX1ElY0yu9kJSqxFirFtSy79ZR/fyKHdOzZurQXNmhIyxVnQXd2bxHvuKUyZGahm/gwgyyzGuxhsQEue6wTD9TnOvvM2vusXpnoCr6Ili7sBwUo9vA2aPI77NB0eArXz9WWNmoDWW5WEqI/rk26Tinl8SNU9iDJISbL+dMses1QPw64oYFWB1J4JeB1MhXnzTxECpGZTn33LhgBU4J3ooT6eoqrsJdRvuc0vjPMxq/jfqLkdBbzlsnrMbgtDoJ9WiWj2lA0MzHGDAQ8HgnMEi3SpXRNnod9CCBnxmkHqv3u4u7Tvp/WLAgJ+QjCt+9yYyw3nOYHpEweQIDAQAB',
Expand Down

0 comments on commit 02931ac

Please sign in to comment.