Given:
http://something.com:4567/data/21/28/188
How do I get only the following with JavaScript?
http://some开发者_如何学JAVAthing.com:4567/
window.location.protocol+'//'+window.location.host
Given:
http://something.com:4567/data/21/28/188
How do I get only the following with JavaScript?
http://some开发者_如何学JAVAthing.com:4567/
window.location.protocol+'//'+window.location.host
精彩评论