JSFiddle - React, Tailwind, and code Playground

JavaScript

$(document).ready(function(){
    var url = 'http://blog.shevarezo.fr/post/2015/08/18/openvpn-cyberghost-raspberry-pi#comments';

    var a = $('<a>', {
        href: url
    });

    var result = '';
    result += '<b>Protocol :</b> '+a.prop('protocol')+'<br>';
    result += '<b>Hostname :</b> '+a.prop('hostname')+'<br>';
    result += '<b>Path :</b> '+a.prop('pathname')+'<br>';
    result += '<b>Query :</b> '+a.prop('search')+'<br>';
    result += '<b>Hash :</b> '+a.prop('hash')+'<br>';

    $('body').html(result);
});