URL Jump Box

Direct navigation. This script captures user input from a text field and forces the browser to navigate to that address, acting like an internal address bar.

https://

Copy the Script

<script>
function jumpToUrl() {
    var input = document.getElementById("urlField").value;
    
    // Auto-add protocol if missing
    if (!input.match(/^https?:\/\//i)) {
        input = 'http://' + input;
    }
    
    window.location.href = input;
}
</script>

<input type="text" id="urlField" placeholder="Enter website...">
<button onclick="jumpToUrl()">Go</button>

Frequently Asked Questions

It allows users to navigate anywhere (Open Redirect), but since it happens entirely on the client-side browser, it doesn't pose a risk to your server. However, warn users about entering sensitive data.

Yes! You can add a `switch` statement to check if the input is 'google' and redirect to 'google.com', creating a command-line style interface.

Use `window.open(url, '_blank')` instead of `window.location`.