Skip to content
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

[Neat URL] trkid= not cleaned from Netflix links when codex.nflxext.com is blocked #134

Closed
vertigo220 opened this issue May 8, 2018 · 10 comments

Comments

@vertigo220
Copy link

I've just copy/pasted the same issue I reported for ClearURLs. Since both addon's are doing the same thing, maybe it's just how they work, but that would be disappointing. Anyways, here it is:

Description

Not sure if this is a bug or not, but codex.nflxext.com script has to be allowed in order for a trkid Netflix link to be cleaned. For example, with uBo and uMatrix installed, going to https://www.netflix.com/title/80166314?trkid=1234567&MSG_TITLE=80166314&lnktrk=EMP&g=6E5416B8D93DD75DB84131269FB4725A6455A8C2&lkid=W2W_ROW_1_MDP_ will only convert the link to https://www.netflix.com/title/80166314 once it has been allowed. It seems the conversion shouldn't be reliant on requiring script to run on the destination page.

I was going to make a separate issue for the fact that google search results aren't cleaned by ClearURLs, but I now suspect it's likely due to the same cause. It seems very counter-productive to globally require 3rd-party scripts just to clean links, so I'm hoping this is just a bug and not a requirement for it to function.

Steps to Reproduce

  1. Install uBo and uMatrix and set to block 3rd-party (alternately, you could just use uBo and forego uMatrix, as the result would be the same, since uMatrix basically just allows more fine-grained control)
  2. Go to above link and notice it's not cleaned
  3. Allow the above in uBo and, if applicable, allow scripts for it in uMatrix, then go to the link again and notice that it's cleaned

Platform: Win10x64

@vertigo220 vertigo220 changed the title trkid= not cleaned from Netflix links when codex.nflxext.com is blocked [Neat URL] trkid= not cleaned from Netflix links when codex.nflxext.com is blocked May 8, 2018
@crssi
Copy link

crssi commented May 8, 2018

@vertigo220 the upper link doen't open in any other plain vanilla browsers without any addon's.
I would say there is a problem with a link and not with NeatURL addon.

@vertigo220
Copy link
Author

It opens for me in Waterfox, Firefox, Brave, and Vivaldi, so not sure why it's not working for you. Are you sure it's using the whole thing when you click on it, since it's split across multiple lines? Interestingly, Brave and Vivaldi "clean" the link on their own, without addons. Of course, I have no idea if, when this is happening and when codex.nflxext.com is unblocked, the link is being cleaned before going to it or after.

@crssi
Copy link

crssi commented May 8, 2018

Tried with EDGE and IE.

On both I get; Netflix Site Error - Page Not Found
Maybe is GEO sensitive.

@vertigo220
Copy link
Author

@Smile4ever
Copy link
Owner

For me both links give 404 too, but the cleaning shouldn't be different then.

I'm having trouble to follow the steps you mentioned.

  1. I installed uBlock Origin and uMatrix. How do I configure it to deny third party scripts?
  • I tried to configure it in uBlock Origin with this filter: ||nflxext.com. Seems to work:
    image

  • I also tried adding netflix.com odex.nflxext.com script block to uMatrix. Not sure whether it did the right thing.
    image

  1. For me, it was always cleaned. I'm not sure I configured the addons well, though. Please see above.

  2. The link was always cleaned for me.

@vertigo220
Copy link
Author

I'd suggest just using uBo without uMatrix, since for the purposes of this example it will have the same effect. Open uBo's settings and check "I am an advanced user" then open the uBo panel and click the right side of the left column in the 3rd-party scripts and 3rd-party frames rows. That will mark both columns in both those rows red, which means it's blocking those (the left column is global, the right column is the current domain). Then load the link (or I suppose a Netflix link that works for you; if you have a Netflix subscription and have an email from them, click a link from there) and when you open the uBo panel there should be a minus sign in the right column in the assets.nflxext.com and codex.nflxext.com rows and the link should still have the tracking info in it.

@Smile4ever
Copy link
Owner

I followed everything, but I could not reproduce that it is not cleaning the links. It's always cleaning the links for me. Can I have a screenshot of your Neat URL configuration?

@vertigo220
Copy link
Author

1
2

If this works similarly to ClearURLs, the problem may be that it's not being cleaned since there's not a request being made by it due to it being blocked. See my issue for that addon here.

@Smile4ever
Copy link
Owner

I don't see why the script should be required to CLEAN the link. I have seen cases where scripts prevent links from being cleaned, but never the other way around.

I don't see trkid added in your screenshot.

If you want me to look closer into this issue, I will need a step-by-step instruction with screenshots. Also try logging out of Netflix (see if that makes a difference, since I'm not logged in).

What do you get in the browser console if you enable the logging of Neat URL?

@Smile4ever
Copy link
Owner

This is now tracked in Smile4ever/Neat-URL#134

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants