Получите Filenem JS

var url = window.location.pathname;
var filename = url.substring(url.lastIndexOf('/')+1);
alert(filename);
Indonesia People