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

[site] twitter #374

Open
KamiyaMinoru opened this issue Nov 25, 2023 · 4 comments
Open

[site] twitter #374

KamiyaMinoru opened this issue Nov 25, 2023 · 4 comments

Comments

@KamiyaMinoru
Copy link

KamiyaMinoru commented Nov 25, 2023

Description: twitter
Example URL: https://twitter.com/abc123?ref_src=xzy789
Include pattern: https://twitter.com/([a-zA-Z0-9_-]+)(\/.*?|)
Redirect to: https://twitter.com/$1
Pattern type: Regular Expression
Example result:
https://twitter.com/abc123

Theoretically, it should work with i.e.

https://twitter.com/inami_future?ref_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1613521443106742274%7Ctwgr%5E55aa1715386e2068a52045e1516a58c63a22d514%7Ctwcon%5Es1_&ref_url=https%3A%2F%2Fnews.gamme.com.tw%2F1753736

image

but no.

image

Could you help to check it out? Thanks.

p.s.
image

@jadedgnome
Copy link

i didn't test it but this Include pattern: https://twitter.com/([a-zA-Z0-9_-]+)(\/.*?|) doesn't seem right , you have a pipe( | ) which isn't followed by anything in (\/.*?|)
try https://twitter.com/([a-zA-Z0-9_-]+)(\?)

@KamiyaMinoru
Copy link
Author

I did another cross test

example:
https://twitter.com/karancryptos/status/1730992188346278033?ref_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1730992188346278033%7Ctwgr%5E8213da3e06754f835346a41ea37a8eb05aec603e%7Ctwcon%5Es1_c10&ref_url=https%3A%2F%2Ftoday.line.me%2Ftw%2Fv2%2Farticle%2FLXLMLK2

twitter
Redirect:	https://twitter.com/(.+)\?ref_
to:	https://twitter.com/$1
Example:	https://twitter.com/abc123/status/789xyz?ref_src=1%a&ref_url=1%a → https://twitter.com/abc123/status/789xyz
Applies to:	Main window (address bar)

→ Not work

but, if I log out twitter
it works.

Really wried.

@tillcash
Copy link

tillcash commented Jan 9, 2024

@KamiyaMinoru Try Wildcard?

image

@Gitoffthelawn
Copy link
Collaborator

For Twitter, please see #179 (comment)

@Gitoffthelawn Gitoffthelawn changed the title twitter [site] twitter Oct 25, 2024
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

4 participants