-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional cleaning features #77
Comments
So while we’re cleaning javascript links, some websites use
|
Potential tracking hashes, suggested by @Rtizer-9 in #108 (comment):
The way this is suspected to work is:
This will work on loading the page, and when performing a “copy clean link”. |
I’ve seen another hash that was suspicious today, on an outgoing link from facebook. Additionally to the |
maybe recognize canonical url thingies? https://addons.mozilla.org/en-US/firefox/addon/canonical-link |
@Cimbali apologies if this is a dumb or duplicate question, but I can't figure out whether this is already implemented: Does CL redirect AMP pages to non-AMP HTML? (If not, the amp2html repo has some very straightforward code to do the job that you might be able to borrow. I believe it uses RegEx but I'm not super familiar with it) |
@e-t-l There seem to be 2 types of redirections in that add-on:
|
Would it be possible to add a sub-option to Link Tracking: "Disabled sites tracking"? I'm finding that while CL is very helpful, it often breaks sites randomly, and it's not always clear why. It's gotten to the point where if anything doesn't work correctly on a site, the first troubleshooting I do is disable CL for that tab (and unfortunately, that does usually seem to fix it). I'd like to go through it in more detail, figure out what exactly CL didn't like, and fix it, but I usually don't have time to do that. I either leave CL disabled in that tab, or I'll add a quick whitelist rule for the entire domain, which is a more heavy-handed approach than I'd prefer. If we had a history option to track what the current site was when the user disabled CL for the tab, then users like me could disable the tab when we just need to get stuff done, but later when we have more time, we could look back over this history and figure out how to handle the redirection properly. P.S. Another related feature might be an option to submit rules directly from our local Rules page to the central repo. If a user finds that CL breaks a website and is able to construct an appropriate rule to mitigate the breakage, it would be great for the community if they could submit that to the masterlist of whitelist rules. The submission process would have to have some sort of review step so you and/or the community could confirm that it is indeed a good rule to include. But it seems like having this process integrated into the addon would be much simpler for us and you than having people open a new issue every time they want to contribute a rule as the Wiki currently suggests. |
I’ve found another scheme of redirections where domain and sub-domain are separated:
|
Thanks a lot for your feedback @e-t-l. I do find browsing with CL quite heavy myself (especially when it’s not the only potential cause as to why things go wrong). Let me try to sum up your 3 suggestions to see if I understand them right:
Those would definitely all increase usability of CL, though with small caveats that I think in 1. it could often not be clear what would cause the site to break or not, and the risk for 1. and 2. is to use up a lot of resources to keep track of (potentially) cleaned links. Not to say it’s not doable of course. With all 3 of those suggestions, they are initially not implemented in order to minimise the privacy impact of CleanLinks. I agree that it does impede usability but it would need some consideration to strike a balance between usability and privacy. Basically I’m wary of building a log that’s reflective of the browser history, even when used for good reasons afterwards. |
I raised this point very earlier in one of the issues that if CL is going to work on a whitelist basis intercepting every single link instead of following a blacklist like ClearUrls or adblocker filterlists then more often than not breakage is gonna happen because of the variety of redirections sites have employed. CL definitely needs a bit of change to increase the usability. |
Right now CleanLink does the following:
I’ve just had to add another feature because Google was loading its URL redirect page in an iframe: we now “promote” the iframe request from
www.google.com/url?url=…
to the main frame in the tab. For now, this behaviour is hardcoded (see dbd58dc).This could possibly be
Other features are not implemented as they have not been required until now, such as:
#!/
)So please report in this issue any use cases for these or other link cleaning features and we’ll see about implementing them.
The text was updated successfully, but these errors were encountered: