Originally created by: kristofferR
Clicking a shared facebook.com link in a chat (post, profile, group, reel, …) navigates the Messenger webview in place instead of opening the default browser: INTERNAL_HOSTS in inject/src/messenger/lib/links.ts treats all of facebook.com as internal, and the target="_blank" in-place navigation in inject/src/messenger/features/link-handling.ts rides on that. With the chrome-stripping CSS active the page renders broken and there is no obvious way back to Messenger.
Fix (in flight): path-aware classification — only Messenger (/messages, /t/) and login/auth paths stay in-app on facebook.com. The Rust is_internal stays permissive on purpose: subframe navigations flow through on_navigation, and cancelling them breaks embedded frames (Ref [#78]).
Originally posted by: kristofferR
Fixed in [#136] (merged to
main).classifyHrefis now path-aware on facebook.com: only Messenger (/messages,/t/) and login/auth paths (/login,/checkpoint,/two_step_verification,/two_factor,/recover,/reg,/r.php) stay in-app; posts, profiles, groups, reels, etc. now open in the default browser.Related
Tickets:
#136Ticket changed by: kristofferR