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

Unexpected result on websites that define canonical URLs independent from content #116

Open
Shudushi opened this issue Jan 26, 2021 · 5 comments

Comments

@Shudushi
Copy link

Shudushi commented Jan 26, 2021

Aufnahme1
Copy ShortURL is an excellent AddOn, exept on this URL:

https://geizhals.at/?cat=nb&xf=12822_6~12_16384~2379_17~2991_240~3710_Bluetooth+5~3710_WLAN+802.11ac~3710_WLAN+802.11ax~82_allgsosd~83_matt+(non-glare)~9_1920x1080&sort=p#productlist

Neither shortening with is.gd, tinyurl, nor bit.ly is working correctly, but copy the url and paste on bit.ly website is working fine.
Shortened URL by Copy ShortURL (https://is.gd/eeQmwt) redirects to the right website (geizhals.at), but all the filters of the original URL are missing.

So it seems to me, that's something with Firefox and Copy ShortURL.

@fwenzel
Copy link
Owner

fwenzel commented Jan 29, 2021

Thank you for highlighting it! This is actually a bug in the geizhals site:

image

Geizhals defines the canonical URL for this page like this, and Copy ShortURL is using this information.

@fwenzel
Copy link
Owner

fwenzel commented Jan 29, 2021

This is a good point though, perhaps I'll make this an option in the preferences - there is already this setting:

image

I could add a setting "use website-provided canonical URL if present" (default... off?).

@Shudushi
Copy link
Author

I learned now, that cononical url ist not what one sees in the browser adress bar.
So IMO best solution is copying content of the browser adress bar, if that's possible.

If "use website-provided canonical URL if present" (default... off?) is it, than I'm fine. :-)

@Shudushi
Copy link
Author

Seems to be the same issue with definition of the canonical URL directly in HTML-code in that page.

Canonical

@fwenzel fwenzel changed the title URL not shortened correctly Unexpected result on websites that define canonical URLs independent from content Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants