Open HealingArcYT opened 1 year ago
If youtube is specifically not loading/showing the content, we also won't have access to it unfortunately so I dont think this is within the scope of this project
link gets shown, but its not a hyperlink but plain text, so it definitely is within here
Ah right. Yeah this should be possible. Just a case of:
<a>
tagThe obvious issue is the efficiency of this given that we'd be checking hundreds of comments every couple of hundred milliseconds. Though I guess we could make a new interval that only runs every second or so, and only execute the checks if the comments panel is open.
Could you send an example of a short with a link in the comments (preferably at the top) so we can have something to work with if we do want to try implement this
this is the first one i found
Planning on incorporating this into the v3 release
Oh and i have another thing to add. Some Videos have links in the description, but youtube usually replaces them with a link to a youtube domain that redirects the user to the page that is the actual goal, could you maybe figure out a way to make them direct links instead of redirections?
If someone could write me a selector for the description text I'd happily incorporate that as well. Having trouble making it unique to each short description
I just saw, they also removed these links from shorts descriptions
this is the first one i found
the Short mentioned earlier also has Links in its Description
If someone could write me a selector for the description text I'd happily incorporate that as well. Having trouble making it unique to each short description
well this
document.getElementsByTagName("ytd-engagement-panel-section-list-renderer")[2]
gives the whole container with the description. but how to get on from there i have to try
well this very unbeatiful thing gets you there, for now
document.getElementsByTagName("ytd-engagement-panel-section-list-renderer")[2].children[1].children[0].children[0].children[1].children[0].children[0].children[0].children[1]
as i said, very unbeatiful
(gives you a TypeError if there is no description, so you need to find out where and check if there are children left at that point)
which I think I might have found, if this has more than 1 child in it you should have a description, else not
document.getElementsByTagName("ytd-engagement-panel-section-list-renderer")[2].children[1].children[0].children[0].children
So YT recently removed links in the comments, for anti scam reasons. But i dont really like it, could you maybe add an option to bring them back, maybe as an optional feature that you can activate/deactivate using a switch in the better ytshorts extension menu?