To extract that user name from URL into html
Sample url
something.com?editors=username
Html code
<P id="demo"><p>
JS:-
document.getElementById("demo").innerHTML =
"Welcome " + get_editor() + " to my website";
function get_editor() {
var url = new URL( window.location.href );
var params = new URLSearchParams(url.search);
return params.get('editors');
}
See Question&Answers more detail:os