If you are on http://www.cnn.com/2012/11/09/opinion/brown-pakistan-malala/index.html can you get Jquery to grab the index.html?
http://www.cnn.com/2012/11/09/opinion/brown-pakistan-malala/index.html
index.html
or if you a
No need for jQuery. This will give you the last segment of the URL path (the bit after the last slash):
var href = document.location.href; var lastPathSegment = href.substr(href.lastIndexOf('/') + 1);