3 ms·
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 pos
by bhartzer 4y ago
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)?
- bobbylarrybobby 4y agoI have an app I use to monitor my clipboard and rewrite certain URLs if sees, placing the clean version back in the clipboard (being sure not to end up in an infinite loop).
- LukeLambert 4y agojavascript: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.