Files
background.js
content.css
content.js
manifest.json
popup.css
popup.html
popup.js
ui-versions.js
youtube-parser.js
Code
9 1,381
ui-versions.js
const UI_VERSIONS = [
{
name: '2005 - Original YouTube',
year: 2005,
startDate: new Date('2005-02-14'),
endDate: new Date('2006-12-31'),
description: 'The original YouTube interface with simple design',
styles: {
primaryColor: '#cc0000',
secondaryColor: '#333333',
backgroundColor: '#ffffff',
textColor: '#333333',
fontFamily: 'Arial, sans-serif',
headerBg: '#cc0000',
sidebarBg: '#f0f0f0',
playerBg: '#000000',
buttonColor: '#cc0000'
}
},
{
name: '2006 - Early Design',
year: 2006,
startDate: new Date('2006-01-01'),
endDate: new Date('2007-12-31'),
description: 'Refined interface with better navigation',
styles: {
primaryColor: '#cc0000',
secondaryColor: '#3b3b3b',
backgroundColor: '#ffffff',
textColor: '#333333',
fontFamily: 'Arial, Helvetica, sans-serif',
headerBg: '#cc0000',
sidebarBg: '#f9f9f9',
playerBg: '#000000',
buttonColor: '#cc0000'
}
},
{
name: '2007 - Refined Layout',
year: 2007,
startDate: new Date('2007-01-01'),
endDate: new Date('2008-12-31'),
description: 'Cleaner design with improved typography',
styles: {
primaryColor: '#cc181e',
secondaryColor: '#333333',
backgroundColor: '#ffffff',
textColor: '#222222',
fontFamily: 'Arial, sans-serif',
headerBg: '#cc181e',
sidebarBg: '#f7f7f7',
playerBg: '#000000',
buttonColor: '#cc181e'
}
},
{
name: '2008 - Channel Pages',
year: 2008,
startDate: new Date('2008-01-01'),
endDate: new Date('2009-12-31'),
description: 'Introduction of customizable channel pages',
styles: {
primaryColor: '#cc181e',
secondaryColor: '#333333',
backgroundColor: '#ffffff',
textColor: '#222222',
fontFamily: 'Arial, sans-serif',
headerBg: '#cc181e',
sidebarBg: '#f5f5f5',
playerBg: '#000000',
buttonColor: '#cc181e'
}
},
{
name: '2009 - Collaboration Era',
year: 2009,
startDate: new Date('2009-01-01'),
endDate: new Date('2010-12-31'),
description: 'Social features and video responses',
styles: {
primaryColor: '#cc181e',
secondaryColor: '#3b3b3b',
backgroundColor: '#ffffff',
textColor: '#333333',
fontFamily: 'Arial, sans-serif',
headerBg: '#cc181e',
sidebarBg: '#eeeeee',
playerBg: '#000000',
buttonColor: '#cc181e'
}
},
{
name: '2010 - Simplified Design',
year: 2010,
startDate: new Date('2010-01-01'),
endDate: new Date('2011-06-30'),
description: 'Cleaner interface with focus on content',
styles: {
primaryColor: '#cc181e',
secondaryColor: '#666666',
backgroundColor: '#ffffff',
textColor: '#333333',
fontFamily: 'Arial, sans-serif',
headerBg: '#cc181e',
sidebarBg: '#f5f5f5',
playerBg: '#000000',
buttonColor: '#cc181e'
}
},
{
name: '2011 - Cosmic Panda',
year: 2011,
startDate: new Date('2011-07-01'),
endDate: new Date('2012-03-31'),
description: 'Experimental redesign with darker theme',
styles: {
primaryColor: '#bb0000',
secondaryColor: '#4d4d4d',
backgroundColor: '#1f1f1f',
textColor: '#cccccc',
fontFamily: 'Arial, sans-serif',
headerBg: '#282828',
sidebarBg: '#1f1f1f',
playerBg: '#000000',
buttonColor: '#bb0000'
}
},
{
name: '2012 - One Channel',
year: 2012,
startDate: new Date('2012-04-01'),
endDate: new Date('2013-08-31'),
description: 'Unified channel design across devices',
styles: {
primaryColor: '#cd201f',
secondaryColor: '#555555',
backgroundColor: '#f1f1f1',
textColor: '#333333',
fontFamily: 'Roboto, Arial, sans-serif',
headerBg: '#e5e5e5',
sidebarBg: '#f9f9f9',
playerBg: '#000000',
buttonColor: '#cd201f'
}
},
{
name: '2013 - Material Intro',
year: 2013,
startDate: new Date('2013-09-01'),
endDate: new Date('2015-07-31'),
description: 'Introduction of Material Design elements',
styles: {
primaryColor: '#e62117',
secondaryColor: '#606060',
backgroundColor: '#f9f9f9',
textColor: '#111111',
fontFamily: 'Roboto, Arial, sans-serif',
headerBg: '#f8f8f8',
sidebarBg: '#f5f5f5',
playerBg: '#000000',
buttonColor: '#e62117'
}
},
{
name: '2014 - Material Refined',
year: 2014,
startDate: new Date('2014-01-01'),
endDate: new Date('2015-07-31'),
description: 'Refined Material Design implementation',
styles: {
primaryColor: '#e62117',
secondaryColor: '#606060',
backgroundColor: '#f9f9f9',
textColor: '#111111',
fontFamily: 'Roboto, Arial, sans-serif',
headerBg: '#f8f8f8',
sidebarBg: '#f5f5f5',
playerBg: '#000000',
buttonColor: '#e62117'
}
},
{
name: '2015 - Red Era',
year: 2015,
startDate: new Date('2015-08-01'),
endDate: new Date('2017-06-30'),
description: 'YouTube Red branding integration',
styles: {
primaryColor: '#ff0000',
secondaryColor: '#606060',
backgroundColor: '#f9f9f9',
textColor: '#111111',
fontFamily: 'Roboto, Arial, sans-serif',
headerBg: '#f8f8f8',
sidebarBg: '#f5f5f5',
playerBg: '#000000',
buttonColor: '#ff0000'
}
},
{