From 841a7f374ce3a12400845bf1a10e6a633cd7ccf4 Mon Sep 17 00:00:00 2001 From: Quentin Stoeckel Date: Sat, 23 Apr 2016 17:20:35 +0200 Subject: [PATCH] Clean web_accessible_resources list, inject material-freebox-os into page --- data/js/injector.js | 2 +- manifest.json | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/data/js/injector.js b/data/js/injector.js index 5da587a..bf20b43 100644 --- a/data/js/injector.js +++ b/data/js/injector.js @@ -28,6 +28,7 @@ getDeps: function() { return { js: [ + 'data/js/material-freebox-os.js', 'data/js/script.js' ], css: [ @@ -68,7 +69,6 @@ applyWallpaper: function() { // Retrieve setting chrome.storage.local.get('wallpaper', function(data) { - alert(data['wallpaper']); var wallpaperUri = data['wallpaper']; if (wallpaperUri === undefined) wallpaperUri = MaterialFreeboxOS.wallpaper.defaultWallpaper.image; diff --git a/manifest.json b/manifest.json index 6be1d04..c1f46d4 100644 --- a/manifest.json +++ b/manifest.json @@ -41,14 +41,11 @@ } ], "web_accessible_resources": [ - "data/js/content-script.js", + "data/js/material-freebox-os.js", "data/js/script.js", "data/img/wallpaper*.jpg", - "data/css/style.css", - - "data/3d/css/materialdesignicons.min.css", - "data/3d/fonts/*" + "data/css/style.css" ] }