एक जेएस फ़ाइल का उपयोग करके आप निम्न को कैप्चर कर सकते हैं, जिसे कोडबेंड में भी इस्तेमाल किया जा सकता है:
<script type="text/javascript">
alert('Server: ' + window.location.hostname);
alert('Full path: ' + window.location.href);
alert('Virtual path: ' + window.location.pathname);
alert('HTTP path: ' +
window.location.href.replace(window.location.pathname, ''));
</script>