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

Removed redirecting all links to Facebook #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tswistak
Copy link

Issue description
Currently when clicking links in Messenger every link goes through Facebook. In case, when in a browser we are not logged in to Facebook it leads to a situation, where instead of the requested page we get a message that we are leaving Facebook. It's annoying, because it forces user to do another click. The same situation is while copying a link.

How the problem was approached
Generally, Messenger keeps with each link data attribute data-lynx-uri where it keeps URL to redirection page. It swaps href to data-lynx-uri when user hovers over the link. It doesn't check the contents of data-lynx-url, so we can safely input there our href, to keep link as we want it.

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

Successfully merging this pull request may close these issues.

1 participant