feat: Add YouTube Chrome extension and GDM API - Chrome extension with popup UI, quality selection, server config - YouTube API endpoints: youtube_add, youtube_formats - Background worker with context menu integration - Content script with inline download button

This commit is contained in:
2026-01-08 19:33:18 +09:00
parent 5afb082692
commit c7a3d6fd03
13 changed files with 923 additions and 1 deletions

View File

@@ -0,0 +1,38 @@
/* GDM YouTube Downloader - Content Script Styles */
.gdm-yt-btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 8px 12px;
margin-left: 8px;
background: linear-gradient(135deg, #3b82f6, #2563eb);
border: none;
border-radius: 18px;
color: white;
font-size: 13px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
font-family: 'Roboto', Arial, sans-serif;
}
.gdm-yt-btn:hover {
background: linear-gradient(135deg, #60a5fa, #3b82f6);
transform: scale(1.05);
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}
.gdm-yt-btn:disabled {
opacity: 0.7;
cursor: not-allowed;
transform: none;
}
.gdm-yt-btn .gdm-icon {
font-size: 14px;
}
.gdm-yt-btn .gdm-text {
font-weight: 500;
}