When copying or sharing a link, I usually manually strip out everything after the ? in the URL.
I've been doing this manually for several years now.
Is it possible to create a bookmarklet that does the same thing (i.e., via JavaSript)?
I've been doing this manually for several years now.
Is it possible to create a bookmarklet that does the same thing (i.e., via JavaSript)?
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.