How does this works? - S4WA/SoundCloud-Player GitHub Wiki

First of all

Content script (extension) only touches here. the control bar. All it does is just clicks the buttons with command from the popup/background script. image image

when the user presses the buttons

image

What is Content, Popup and Background Script?

Content script runs inside of your soundcloud tab, Popup script only runs when you open the popup window (either use shortcut key or click the icon to open), Background script will run when you press the extension shortcut (or global shortcut).

The background script will be inactive after a while if you were not using it.