JSFiddle - React, Tailwind, and code Playground

HTML

<!-- 
Here's how to get a list of all of your YouTube subscriptions.

Go to your YouTube subscriptions page.
Copy/paste the source of that page here
Press Run above

The output should be a list of links to all of your subscriptions.-->

JavaScript

$(document).ready(function(){
    var cdn = 'http://youtube.com';
    $('a.subscription-title').each(function() {
        $(this).attr('href', cdn + $(this).attr('href'));
    });
    
   var hrefs = new Array();
   $(this).find('a.subscription-title').each(function(){
       var link = $(this)[0].href;
       var title = $(this)[0].innerText;
       hrefs.push('<a href="'+link+'" target="_blank">'+title+'</a>');
   })
   console.log(hrefs);
   $('body').replaceWith(hrefs.join('<br/>'));
    
});