Enter a URL below and use the buttons to test different opening methods.
<a href="https://example.com">
<a href="https://example.com" target="_blank">
<a href="https://example.com" target="_self">
<a href="https://example.com" target="_top">
window.location.href = 'https://example.com'
window.location.assign('https://example.com')
window.location.replace('https://example.com')
window.open('https://example.com')
window.open('https://example.com', '_blank')
window.open('https://example.com', '_self')
location.href = 'https://example.com'
document.location = 'https://example.com'