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
?
or if you are on http://www.washingtonpost.com/politics/decision2012/supreme-court-to-review-key-section-of-voting-rights-act/2012/11/09/dd249cd0-216d-11e2-8448-81b1ce7d6978_story.html
have it return dd249cd0-216d-11e2-8448-81b1ce7d6978_story.html
?
And for non extension defined pages such as this current one http://stackoverflow.com/questions/13317276/jquery-to-get-the-name-of-the-current-html-file
can it return the last "file" in the "directory"structure, for example: jquery-to-get-the-name-of-the-current-html-file
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…