Skip to content

Instantly share code, notes, and snippets.

View adokce's full-sized avatar

Adnan Karšić adokce

View GitHub Profile
@adokce
adokce / scriptYoutubePomodoro.js
Last active May 7, 2024 17:51
Pomodoro for YouTube (+YouTube Music) - Run in the browser tab's console to start/stop music in pomodoro interval
/**
* scriptYoutubePomodoro.js
*
* Overview:
* This script implements a Pomodoro timer that controls music playback on YouTube AND Youtube Music
* directly from the browser's console. It is designed to help manage work and break intervals
* by automatically playing and pausing music, along with playing distinct tones to indicate
* the transition between work and break periods.
*
* Features: