question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Copy clean URL" feature

See original GitHub issue

We currently have a privacy feature to strip out identifying parameters across sites. Users are asking us to go further and remove anything that’s not needed when copying URLs.

For example, there are first-party parameters which are not in-scope for the existing query filter:

  • Amazon has URLs like https://www.amazon.com/Echo-Dot/dp/B07FZ8S74R/ref=sr_1_1?crid=1JM4ODN4MKLZO&keywords=alexa+echo&qid=1654644603&sprefix=alexa%2Caps%2C136&sr=8-1 where only https://www.amazon.com/dp/B07FZ8S74R/ is needed.
  • Twitter has unnecessary t and s parameters which seem to identify the application and user who shared the link.

There are also parameters which aren’t privacy-harming but which clutter shared links needlessly.

This should be opt-in to avoid surprising users who may be thinking that Brave is broken and unable/unwilling the copy the full URL from the URL bar.

Spec: https://docs.google.com/document/d/1ea7eF3s0WTsTlmMPr8LYp5KUyNg8eK4omjizo27qvJE/edit#

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:10
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Novackcommented, Jul 17, 2022

I think this pollutes the context menu unnecessarily. What about having only one “Copy Link” on context that removes trackers by default, while in the settings an option “Allow trackers on copied links” if the user wants or needs it for some reason?

On a side note, totally against editing content from the clipboard, except explicitly enabling that as an option.

2reactions
fmariercommented, Jul 12, 2022

@evq also pointed out that we should also debounce URLs that people copy to the clipboard. So if you copy https://www.google.com/url?q=https://example.com, for example by copying it from Google Docs or Google Calendar, then it would put https://example.com into the clipboard.

So first, aggressively debounce URLs, then strip the query string down to just what’s needed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What does "Copy clean link" mean?
To use this feature, simply select the Copy clean link option from the context menu when copying a link (image 1), or from...
Read more >
Copy Cleaner - Clean URL Links on the Mac App Store - Apple
Paste links with common trackers removed instantly. After copying a URL, automatically remove common trackers when pasting.
Read more >
Clean copy URL – Get this Extension for Firefox (en-US)
This extension lets you choose which URL to copy to the clipboard based on the page you are viewing. It helps you remove...
Read more >
Improved copy and paste of URLs in Microsoft Edge
Microsoft Edge has an improved way to copy and paste paste web URLs from the address bar into your content. This feature copies...
Read more >
How to figure out which junk you can remove from URLs
Just paste in the messy URL, and it'll spit out the clean version. Alternatively, if you'd rather never see code like this in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found