Native Messaging — 확장이 로컬 바이너리를 실행하는 법
근거 — manifest 필드·와일드카드 불가·크기 제한은 공식 문서 그대로다.1
Footnotes
-
manifest는
name·description·path·type·allowed_origins를 갖는다. “List of extensions that should have access to the native messaging host.allowed-originsvalues can’t contain wildcards.” / 크기 제한 — “The maximum size of a single message from the native messaging host is 1 MB”, “The maximum size of the message sent to the native messaging host is 64 MiB.” (Native messaging — Chrome for Developers) ↩
Chrome 외부 앱 딥링크 "항상 열기" 해제
커스텀 스킴(myapp://) 다이얼로그에서 “항상 열기 허용”을 실수로 체크해 되돌리고 싶을 때. 설정 UI 에는 항목이 없다 — 체크는 프로필의 Preferences JSON 에 origin 단위로 저장된다.
"protocol_handler": {
"allowed_origin_protocol_pairs": { "https://example.com": { "myapp": true } }
}
| OS | 경로 |
|---|---|
| macOS | ~/Library/Application Support/Google/Chrome/<Profile>/Preferences |
| Windows | %LOCALAPPDATA%\Google\Chrome\User Data\<Profile>\Preferences |
| Linux | ~/.config/google-chrome/<Profile>/Preferences |