-
-
Notifications
You must be signed in to change notification settings - Fork 552
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
Quick fix #1597
Quick fix #1597
Conversation
Rewrite the whole theme cookie setting code, now it will use ImprovedTube.setCookie()
Port code-charity#1372 to V4
@ImprovedTube I added more check for my cookie code to prevent error and also port over my player element overlap code to v4 alr |
thanks & happy weekend @dodieboy (
) |
location.reload(); may cause a reload loop, so if need, we will suggest user to reload by themself better than the extension keep reloading that cause memory problem to user. I tested that youtube now set and delete the cookie when user set the appearance in the setting, so user will mot need to know how to delete those cookie when the not using our extension, they can just go appearance and reset those setting. |
btw i got 1 more fix, so dont merge this PR yet |
@ImprovedTube I'm done with fixing thing, can merge this PR after review. Thanks 😄 |
|
On my side, I got an error which show it is not able to find the parent parent node,therefore, i change the check to use the new class name which youtube just added. I change the SVG method too due to the new change. The button is taking too long to load, resulting in queryselector not able to find the element needed. So I change to this method for now. However I wish that I can bring back the SVG method as we will have lesser work when they added more button there and the extension will hide the correct button even when youtube have a new update |
hope you get enough rest too😳 |
No description provided.