Major Progress
Okay so a lot happened since the last devlog. I paused my progress on the auto play feature and instead moved on to some small changes. I also made a lot of random commits for testing small things which was kinda tedious to revert later (Image shows the graph after all the random stuff was removed).
Hide Shorts
This feature was pretty simple to implement as I just used querySelectorAll to select the elements with the youtube shorts buttons then I just checked for the text “shorts” so the function doesn’t accidentally delete something else. Finally I used element.remove() to delete the buttons. Also added a mutation observer so the button stays deleted.
Hiding unnecessary buttons
I basically just did the same thing as above to hide other buttons that clutter up the screen like the create button and the voice search button.
Branches
This is the first time I learnt how to properly use branches in git. I made two separate branches for the two features I worked on so the variable names are not an issue for now.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.