-
-
Notifications
You must be signed in to change notification settings - Fork 543
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
Update core.js blocklist: safety, properly initialize, speed #2398
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
raszpl
changed the title
Update core.js properly initialize blocklist storage
Update core.js blocklist: safety, properly initialize, speed
Jun 19, 2024
…g commented stuff to more logical place
separate functions for node/channel/initialization
…rom source thumbnail
ImprovedTube
added
the
Open!
Not to forget. Unfinished (or waiting for a requirement) (unless combined with label: riddle)
label
Jun 22, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Open!
Not to forget. Unfinished (or waiting for a requirement) (unless combined with label: riddle)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Tons of checks, everything is checked and initialized properly, switched to separate dedicate functions as its slightly faster.
Blocklist icon popups should be showing on video-previews now. Its not ideal, blocked thumbnails glitch a little when hovering over in search, needs some more CSS love.
#2236
#2334
#2393
also adds new
ImprovedTube.createIconButton()
function in \js&css\web-accessible\functions.js Extension has ~7 icon buttons used https://github.com/search?q=repo%3Acode-charity%2Fyoutube%20http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg&type=code and they are being manually created with icons stored all over the codebase, now all icons should be moved to centralImprovedTube.button_icons = {}
repository in \js&css\web-accessible\core.js