How do I copy a hyperlink without the stuff past . html?

Posted on

Problem :

When shopping on certain sites like aliexpress there is a lot of extraneous junk past the .html at the end of the URL. What’s an easy way to copy the link while omitting anything past that? Something like an extension, a greasemonkey script, or something else? I’m using firefox but a chrome solution would also be welcome.

Here’s a sample URL:…. goes on awhile… &algo_pvid=5e586e79-51ab-466c-a97a-5c5ba94e5930

shorten to

Solution :

I often just do it backwards in the address field. Put the cursor at the end of the “.html”, and click and drag to the left to highlight the rest of the URL. That way you don’t have to be as precise while dragging.

Leave a Reply

Your email address will not be published. Required fields are marked *