const { gitRef } = require ( 'git-ref' ) ; const pkg = require ( './package.json' ) ; type { chrome . runtime . Manifest } module . exports = { manifest_version : 2 , name : 'New Tab' , 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 ? undefined : gitRef ( ) . replace ( /^v/ , '' ) , homepage_url : pkg . homepage , icons : { 16 : 'icon16.png' , 48 : 'icon48.png' , 128 : 'icon128.png' , } , permissions : [ 'bookmarks' , 'chrome://favicon/' , 'history' , 'sessions' , 'storage' , 'tabs' , 'topSites' , ] , chrome_url_overrides : { newtab : 'newtab.html' , } , background : { scripts : [ 'background.js' ] , persistent : false , } , options_ui : { page : 'settings.html' , } , offline_enabled : true , incognito : 'not_allowed' , content_security_policy : [ "default-src 'none'" , "script-src-elem 'self' 'sha256-tTEM8/3BDl1ZYg+4egLH8ztU+VEjQjhJbhCawNk+L2Q='" , "style-src-elem 'unsafe-inline'" , 'img-src chrome://favicon' , ] . join ( ';' ) , key : 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAk9BfRa5CXuCX1ElY0yu9kJSqxFirFtSy79ZR/fyKHdOzZurQXNmhIyxVnQXd2bxHvuKUyZGahm/gwgyyzGuxhsQEue6wTD9TnOvvM2vusXpnoCr6Ili7sBwUo9vA2aPI77NB0eArXz9WWNmoDWW5WEqI/rk26Tinl8SNU9iDJISbL+dMses1QPw64oYFWB1J4JeB1MhXnzTxECpGZTn33LhgBU4J3ooT6eoqrsJdRvuc0vjPMxq/jfqLkdBbzlsnrMbgtDoJ9WiWj2lA0MzHGDAQ8HgnMEi3SpXRNnod9CCBnxmkHqv3u4u7Tvp/WLAgJ+QjCt+9yYyw3nOYHpEweQIDAQAB' , } ;