From b2f0c9e2d37986dd1b53c92bbc5fe262a18d5c15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Heym=C3=A8s?= Date: Wed, 10 Feb 2021 14:50:46 +0100 Subject: [PATCH] Replace deprecated chrome.extension.getURL --- inject.js | 2 +- manifest.json | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/inject.js b/inject.js index 833eac4..426cae2 100644 --- a/inject.js +++ b/inject.js @@ -13,4 +13,4 @@ function injectScript(file_path, tag) { script.setAttribute('src', file_path); node.appendChild(script); } -injectScript(chrome.extension.getURL('contentScript.js'), 'body'); \ No newline at end of file +injectScript(chrome.runtime.getURL('contentScript.js'), 'body'); \ No newline at end of file diff --git a/manifest.json b/manifest.json index 4c75d9f..d729396 100644 --- a/manifest.json +++ b/manifest.json @@ -1,8 +1,10 @@ { "name": "Bandcamp Feed Playlist", - "version": "1.1.1", + "version": "1.1.2", "description": "Play all of your feed in one click.", - "permissions": ["declarativeContent"], + "permissions": [ + "https://bandcamp.com/*/feed" + ], "content_scripts": [ { "matches": [