Open
Description
- Manifest version 2 is deprecated, and support will be removed in 2023. See https://developer.chrome.com/blog/mv2-transition/ for more details.
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "Search YouTube™ Playlist",
"version": "21.04.01",
"description": "Search for videos in a YouTube™ playlist.",
"background": {
"scripts": ["/js/background.js"],
"persistent": false,
"pages": ["popup.html"]
},
"page_action" :
{
"default_title" : "Search this playlist",
"default_popup" : "popup.html"
},
"icons": {
"48": "/img/icon-48.png",
"128": "/img/icon-128.png"
},
"permissions" : [
"storage",
"declarativeContent",
"tabs",
"identity",
"http://www.youtube.com/*",
"https://www.youtube.com/*"
],
"oauth2": {
"client_id": "104618134280-roirvkp72379ll5d19ej7gl7128l5jk9.apps.googleusercontent.com",
"scopes": [
"https://www.googleapis.com/auth/youtube.readonly"
]
},
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAps65nbsGLdA55FuGZlpzPiZOdV+umwFK4gFOYnUDVcqp6NQ8OxGY5+qQ40tFlBgrwAbhCknHumgFQJyQBnYUhJNSO5macvXjXi1Fg6ZwWoaglQbbmXUWmXFsBq5DwR514qT/0ER70n35RpM1u7fgMGga8yHm3l3YjVRoEuN7qqHj1mRN3EbHnZUQbCT91JhZqfhaVkEEAvsznCZ3xbKDhCydSs5753cEk0tWeVFkTfE74FIoV9vi1nDHS2qjtcaNQSUmOTeBys6hZkXRgPDQl5NWwFd6xx85txQ4sbDMX0WNR9Qc/IAZlhigxaGr/UD0qTz0GpIRGU0KkNQEs/lw5wIDAQAB",
"manifest_version": 2
}
Bug: "manifest_version": 2
- Error: couldn't retrieve YouTube API Auth Token
js/popup.js:12 (showError)
js/popup.js:24 (anonymous function)
import spinner from './objects/spinner.js';
import playlistID from './data/playlistID.js';
import populatePopup from './functions/populatePopup.js';
import fetchBtn from './elements/fetchBtn.js';
window.videos = [];
function showError(message) {
document.body.innerHTML = `
<div class='error'>${message}</div>
`;
console.error(message);
}
(async function() {
try {
if (playlistID == "WL") {
showError("Watch Later playlist is inaccessible due to privacy concerns. Thank you for understanding.");
return;
}
await spinner.wrapAround(populatePopup);
} catch(err) {
showError(err);
}
})();
Bug: console.error(message);
- Unchecked runtime.lastError: The user did not approve access.
Bug:: popup.html:0 (anonymous function)
Do you have any thoughts of using ChatGPT or other AI programs to help you in creating or troubleshooting codes/Python?
Metadata
Assignees
Labels
No labels