Hacker News new | ask | show | jobs
by LukeLambert 1205 days ago

  javascript:prompt('URL',window.location.origin+window.location.pathname)
Edit: But be aware that some sites (like this one) need the parameters in the query string.