Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Simple script to switch to the uploads playlists (Uploads by...) on YouTube
var params = new URLSearchParams(
var listId = params.get('list')
if (listId && listId.startsWith('UU')) {
} else {
params.set('list', 'UU' + ytInitialPlayerResponse.videoDetails.channelId.substr(2))
} = params.toString()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment