In my chrome extension (https://chrome.google.com/webstore/detail/dark-mode-shell-shockers/mbbolbckjdjlfpjahlbhcodgagdpcdnf?hl=en&authuser=0) I want to make it so that if they click the popup, they can toggle settings. Although I know how to code this, I cannot figure out how to make it run javascript on the current tab from the popup!
I tried to just run a function, but it only runs on the popup! I think there is a way to do this, but no tutorial is clear on how, they just kind of say that it is possible.