invidious
invidious copied to clipboard
Requesting addition of ID-attributes to the DOM elements
Could somebody add in id attributes to the elements.
This would facilitate easier user-side customization through Userscripts...
Right now the Channel-navigation panel is identified by only class="pure-g h-box", the Channel info (such as the banner, name, subscription counter, RSS-feed etc) are all class="pure-g h-box" or class="h-box"... and one can't really consistently identify them through document.querySelectorAll() array index either, because some channels don't include all those elements... and so on.
Poke @syeopite : can you consider that in your UI rewrite?
:+1:
This issue has been automatically marked as stale and will be closed in 30 days because it has not had recent activity and is much likely outdated. If you think this issue is still relevant and applicable, you just have to post a comment and it will be unmarked.