diff --git a/content_scripts/ContentScript.js b/content_scripts/ContentScript.js index 99d4cab..1fad393 100644 --- a/content_scripts/ContentScript.js +++ b/content_scripts/ContentScript.js @@ -64,7 +64,7 @@ class ContentScript{ .then(res => res.text()) .then(html => { this.html.insertAdjacentHTML("afterbegin", html); - document.querySelector("#MovieBookmark-selector img").src = chrome.runtime.getURL("img/img1.png"); + document.querySelector("#MovieBookmark-selector img").src = chrome.runtime.getURL("img/img2.png"); this.setColorTheme(); }); diff --git a/manifest.json b/manifest.json index 9ac994e..8b08c21 100644 --- a/manifest.json +++ b/manifest.json @@ -1,10 +1,5 @@ { "manifest_version": 3, - "key": "", - "oauth2": { - "client_id": "", - "scopes":["https://www.googleapis.com/auth/drive.file"] - }, "name": "Movies Watchlist", "description": "Keep a list of movies you like, want to see and group them by your preferences.", "version": "1.0", @@ -31,7 +26,7 @@ "host_permissions": ["https://www.imdb.com/*"], "web_accessible_resources":[ { - "resources": ["google_buttons.html", "img/img1.png"], + "resources": ["quickActionsGoogle.html", "img/img2.png"], "matches": ["https://www.google.com/*"] } ], diff --git a/movies.html b/movies.html index 87fa6ce..66200a4 100644 --- a/movies.html +++ b/movies.html @@ -50,6 +50,5 @@ - \ No newline at end of file diff --git a/scripts/UI.js b/scripts/UI.js index 3c8c6e8..17467df 100644 --- a/scripts/UI.js +++ b/scripts/UI.js @@ -27,7 +27,7 @@ class UI{ * Add a title to a list */ static addTitleToList(title, list){ - $(`#wrapper div.list[data-list=${list}] div.container`).append(UI.cardComponent( + $(`#wrapper div.list[data-list='${list}'] div.container`).append(UI.cardComponent( title, DATA.all[title]["poster"], DATA.all[title]["release_date"], @@ -36,7 +36,7 @@ class UI{ )); let n = parseInt($(`#wrapper div.list[data-list='${list}'] h2 span.size`).text()) + 1; - $(`#wrapper div.list[data-list=${list}] h2 span.size`).text(n); + $(`#wrapper div.list[data-list='${list}'] h2 span.size`).text(n); $(".btn, div.image, div.card").unbind(); addListeners();