User:DannyS712/PermaLinkSection.js

$(document).ready( function {    $('#t-permalink > a').on( 'click', function ( e ) { e.target.href += window.location.hash; } ); } );