Remove claude.ai/code skip

The extension needs to work on claude.ai/code like every other site;
the user toggles it off manually when needed. Dropping the host-level
skip leaves the word-boundary mapping fix as the only behavior change
on this branch.

https://claude.ai/code/session_01Y2YprLMx348eWD5C9Z4zpV
This commit is contained in:
Claude
2026-04-16 18:10:04 +00:00
parent f55f63c254
commit b9acd6d677
2 changed files with 0 additions and 24 deletions
-11
View File
@@ -15,17 +15,6 @@
if (window.__silentSendInjected) return;
window.__silentSendInjected = true;
// Skip Claude Code (web) entirely. Its tool-call traffic shares the HTTP
// surface with user messages; any selective walker becomes brittle the
// moment Anthropic changes a field name. Leaving the app untouched is the
// robust choice — the user handles redaction manually here.
if (
location.hostname === 'claude.ai' &&
/^\/code(\/|$)/.test(location.pathname)
) {
return;
}
// Merge active profiles into flat identity object
function mergeProfiles(data) {
const profiles = data?.profiles || [];