Skip to content

Commit

Permalink
Replace deprecated chrome.extension.getURL
Browse files Browse the repository at this point in the history
  • Loading branch information
lovethebomb committed Feb 10, 2021
1 parent cefbae9 commit b2f0c9e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion inject.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ function injectScript(file_path, tag) {
script.setAttribute('src', file_path);
node.appendChild(script);
}
injectScript(chrome.extension.getURL('contentScript.js'), 'body');
injectScript(chrome.runtime.getURL('contentScript.js'), 'body');
6 changes: 4 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down

0 comments on commit b2f0c9e

Please sign in to comment.