Skip to content

Count Microsoft Translator (Edge) as page translation in the lost-node assert - #54

Merged
back2dos merged 1 commit into
MVCoconut:masterfrom
Neverbirth:translated-by-microsoft
Oct 29, 2026
Merged

back2dos merged 1 commit into
MVCoconut:masterfrom
Neverbirth:translated-by-microsoft

Conversation

@Neverbirth

Copy link
Copy Markdown
Contributor

Follow-up to #53. The lost-node assert says "page translated" only for Google Translate (translated-* on ). Edge's Microsoft Translator doesn't add that class; it marks the elements it translated with _msthash / _msttexthash.

We see the assert on Edge for Android with page translation on: the translator rewrites text nodes that coconut later tries to delete. This counts [_msthash] in the document as translated too.

🤖 Generated with Claude Code

…e assert.

Edge's translator doesn't add Google's `translated-*` class to <html>; it marks
the elements it translated with `_msthash`. Seen on Edge for Android, where it
rewrites text nodes that coconut later tries to delete.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@back2dos
back2dos merged commit a36278d into MVCoconut:master Oct 29, 2026
1 of 3 checks passed
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.

2 participants