mateo-villa / tab-brightness

0 stars 3 forks source link

Adjust browser brightness based on popup slider #4

Open mateo-villa opened 7 months ago

mateo-villa commented 7 months ago

I have some ideas for how this could be implemented, but take a stab at it first and let me know if you have any questions

antv11a commented 7 months ago

I have no idea how to do this

antv11a commented 7 months ago

where do i start?

mateo-villa commented 7 months ago

I think the final solution will be a bit tricky, so I'd recommend messing around with the Chrome API and get a feel for how to use it.

Maybe start with something simple like this: When you click the extension icon, it will log the tab URLs to the console

You will need to use the Tab API and add a permission to the manifest for this. The code can just go in popup.js for now. https://developer.chrome.com/docs/extensions/reference/api/tabs

Let me know if you still don't how to get started and maybe we can do a quick screenshare to get you moving

mateo-villa commented 6 months ago

@antv11a How's it going

antv11a commented 6 months ago

my bad i've been studying for finals I'll try to get to it soon.