theAlinP / twitter-link-deobfuscator

A Firefox add-on that restores the original destination of the links (from tweets) that have been shortened by the Twitter servers. It only runs while browsing Twitter's website (twitter.com).
https://addons.mozilla.org/en-US/firefox/addon/twitter-link-deobfuscator/
MIT License
36 stars 5 forks source link

The firefox addon would add ...(ellipsis) to the end of a long link #9

Closed pixiandouban closed 3 years ago

pixiandouban commented 4 years ago

I find that if a link is too long, Twitter would add a ... to the end of the link and the addon would do the same thing as Twitter. At first, I thought the link was wrong, when I closed the addon, the browser would work alright.

theAlinP commented 4 years ago

Thank you for warning me.

Please give me an example where can I find such a link. The URL of a tweet or at least a profile page would be enough.

pixiandouban commented 4 years ago

Take an example, https://twitter.com/WYB_Association/status/1270318148839854080?s=20 ,the link begins with a mp.weixin.qq.com and ends with ....

Now I find that some websites may ignore the suffix ..., while some others may not work right.

theAlinP commented 4 years ago

I inspected that tweet and a few other tweets written by that account. I think I found a solution but I will modify the add-on to test it later. I will update the add-on today or probably tomorrow.

theAlinP commented 4 years ago

Okay, it looks like I fixed it. You can update the add-on now. Let me know if it doesn't work in your browser.

pixiandouban commented 3 years ago

I found that it would add ... on the link when the link is in the Profile Bio section. https://twitter.com/balajis Github

theAlinP commented 3 years ago

Confirmed. I will issue an update shortly.

theAlinP commented 3 years ago

I updated the add-on. Please tell me if the issue was solved.

pixiandouban commented 3 years ago

Yes, it's solved. Thanks.