let result = []; document.querySelectorAll("ytd-playlist-video-list-renderer #video-title").forEach(item => { if (item.href.includes('/watch?v=')){ var entry = {}; entry['title'] = item.title; entry['videoId'] = item.href.split('=')[1].split('&')[0]; result.push(entry); } else { console.log(`Skipped: ${item.title} - ${item.href}`); } }); result; opera://settings/content/sound?search=sound