Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: toggle swith to turn off and on #33

Merged
merged 6 commits into from
Apr 21, 2024

Conversation

MatheusR42
Copy link
Contributor

@MatheusR42 MatheusR42 commented Apr 7, 2024

I created a feature to turn it on and off as requested in this issue:
#2

Toggle:
image

Extension on:
image

Extension off:
image

P.S. Maybe is not the cleanest way to do it because I needed to change all the css selectors, my initial idea was to insert the css by JS, but it's hard to do it with manifest v3 and also create performance issues (the css will only be inserted after js is ready and run, so its possible to see the youtube default load 馃槥 ). So the best option that I think until now is to change html class

@ephraimduncan
Copy link
Owner

Thank you for this, I'm going to take over and add some minor changes

@ephraimduncan ephraimduncan merged commit 6333029 into ephraimduncan:main Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants