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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quality improvements #4

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Mis1eader-dev
Copy link

@Mis1eader-dev Mis1eader-dev commented Feb 8, 2023

  • Added Always show comments option in extension settings.
  • Added Show Comments button. This allows lazy loading of comments. Though this setting does not work with the scrollbar option enabled. It works with the scrollbar option enabled.
  • Rewrote some parts, to cache some results for quick access, and modernize document.getElementById() to use document.querySelector() instead, same way as is used by YouTube as well.

- Added `Show Comments` button. This allows lazy loading of comments.
- Changed scrollbar style to match YouTube's chapters scrollbar style.
- Moved Show Comments styles to the CSS file.
First time opening a YouTube session will not add the styles without it.
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.

1 participant