{"id":1580,"date":"2024-05-11T00:15:44","date_gmt":"2024-05-11T00:15:44","guid":{"rendered":"https:\/\/p-horlix.net\/umamusume-phazor\/?p=1580"},"modified":"2024-05-15T10:28:10","modified_gmt":"2024-05-15T10:28:10","slug":"chrome-%e6%8b%a1%e5%bc%b5%e3%81%a7-pc-%e3%83%8d%e3%82%a4%e3%83%86%e3%82%a3%e3%83%96%e3%82%a2%e3%83%97%e3%83%aa%e3%81%a8%e3%81%8a%e8%a9%b1%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/p-horlix.net\/umamusume-phazor\/?p=1580","title":{"rendered":"chrome \u62e1\u5f35\u3067 PC \u30cd\u30a4\u30c6\u30a3\u30d6\u30a2\u30d7\u30ea\u3068\u304a\u8a71\u3059\u308b -Native Messaging-"},"content":{"rendered":"<p>\u30cd\u30c3\u30c8\u3092\u5f77\u5fa8\u3063\u3066\u3044\u3066\u300c\u3078\u30fc\u300d\u3068\u3044\u305f\u304f\u611f\u5fc3\u3057\u305f\u8a18\u4e8b\u3002<\/p>\n<p>\u300e<a href=\"https:\/\/tech.techtouch.jp\/entry\/browser-extension-interprocess-communication-using-native-messaging\">Native Messaging \u3092\u4f7f\u3044\u3001\u30d6\u30e9\u30a6\u30b6\u62e1\u5f35\u3067\u30d7\u30ed\u30bb\u30b9\u9593\u901a\u4fe1\u3092\u884c\u3046\u65b9\u6cd5<\/a>\u300f<\/p>\n<blockquote><p>Native Messaging \u3092\u7528\u3044\u308b\u3068\u3001Web \u30d6\u30e9\u30a6\u30b6\u3068\u306f\u5225\u306b\u3001\u30e6\u30fc\u30b6\u30fc\u306ePC\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u30cd\u30a4\u30c6\u30a3\u30d6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u30d6\u30e9\u30a6\u30b6\u62e1\u5f35\u306e\u9593\u3067\u30e1\u30c3\u30bb\u30fc\u30b8\u4ea4\u63db\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3064\u307e\u308a\u3001Web \u30d6\u30e9\u30a6\u30b6\u306b\u7528\u610f\u3055\u308c\u305f API \u3067\u306f\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u306a\u3069\u306e\u30ea\u30bd\u30fc\u30b9\u306b\u5bfe\u3057\u3066\u3001\u30d6\u30e9\u30a6\u30b6\u62e1\u5f35\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p><\/blockquote>\n<p>\u3053\u3046\u3044\u3046\u6280\u8853\u304c\u3042\u308b\u306e\u306f\u77e5\u3063\u3066\u3044\u305f\u304c\u3001\u8a73\u3057\u3044\u77e5\u8b58\u306f\u30bc\u30ed\u3002<\/p>\n<p><a href=\"https:\/\/dev.classmethod.jp\/articles\/chrome-native-message\/\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-1593\" src=\"https:\/\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/05\/native-messaging-image.png\" alt=\"\" width=\"900\" height=\"550\" srcset=\"https:\/\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/05\/native-messaging-image.png 900w, https:\/\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/05\/native-messaging-image-300x183.png 300w, https:\/\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/05\/native-messaging-image-768x469.png 768w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>\u62e1\u5f35\u6a5f\u80fd\u3092\u6301\u3063\u3066\u3044\u308b\u5404\u7a2e\u30d6\u30e9\u30a6\u30b6\u306a\u3089\u9069\u7528\u53ef\u80fd\u306a\u6280\u8853\u306a\u3088\u3046\u3060\u304c\u3001chorome \u30e6\u30fc\u30b6\u30fc\u304c\u591a\u3044\u3068\u601d\u3046\u306e\u3067\u4eca\u56de\u306f chrome \u62e1\u5f35\u3067\u8003\u3048\u3066\u307f\u308b\u3002<\/p>\n<p>\u3068\u3053\u308d\u3067\u30fb\u30fb<\/p>\n<h2>\u306a\u305c\u3001Native Messaging \u304c\u5fc5\u8981\u304b<\/h2>\n<p>\u3068\u601d\u3046\u4eba\u3082\u3044\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u3002<\/p>\n<p>\u30ef\u30a4\u3082\u30d6\u30e9\u30a6\u30b6\u95a2\u9023\u306e\u6280\u8853\u306f\u305d\u308c\u307b\u3069\u8a73\u3057\u304f\u306a\u3044\u306e\u3067\u4e0a\u624b\u3044\u8aac\u660e\u306f\u3067\u304d\u306a\u3044\u304c\u3001\u7c21\u5358\u306b\u3044\u3046\u306a\u3089\u300c\u30b5\u30a4\u30c8\u30da\u30fc\u30b8\u306a\u3069\u3068\u9023\u52d5\u3057\u3066\u52d5\u304f JavaScript \u306f\u3001\u57fa\u672c\u7684\u306b PC \u672c\u4f53\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u4f7f\u3046\u3053\u3068\u304c\u5236\u9650\u3055\u308c\u3066\u3044\u308b\u304b\u3089\u300d\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308b\u3002<\/p>\n<p>\u3068\u3044\u3046\u304b\u3001\u306a\u3093\u306e\u5236\u9650\u3082\u306a\u304f\u64cd\u4f5c\u3067\u304d\u305f\u3089\u56f0\u308b\u3002<\/p>\n<p>\u6628\u4eca\u3067\u306f\u3001\u30cd\u30c3\u30c8\u3092\u4ecb\u3057\u3066\u5bb6\u96fb\u306e\u64cd\u4f5c\u3092\u884c\u3046\u3001\u306a\u3093\u3066\u3053\u3068\u304c\u5f53\u305f\u308a\u524d\u306b\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u304c\u3001\u3053\u308c\u304c\u30d6\u30e9\u30a6\u30b6\u7d4c\u7531\u3067\u7c21\u5358\u306b\u3067\u304d\u3066\u3057\u307e\u3063\u305f\u3089\u3001\u5e30\u5b85\u6642\u306b\u5bb6\u4e2d\u3081\u3061\u3083\u304f\u3061\u3083\u306a\u3093\u3066\u4e8b\u614b\u304c\u751f\u3058\u3066\u3057\u307e\u3046\u3002<\/p>\n<p>\u5bb6\u96fb\u3050\u3089\u3044\u306a\u3089\u53ef\u611b\u3044\u3082\u306e\u3067\u3001USB \u3092\u4ecb\u3057\u3066\u7523\u696d\u30b7\u30b9\u30c6\u30e0\u3092\u5236\u5fa1\u3057\u3066\u3044\u308b\u3088\u3046\u306a PC \u304c\u60aa\u610f\u3042\u308b\u30da\u30fc\u30b8\u304b\u3089\u64cd\u4f5c\u3055\u308c\u3066\u3057\u307e\u3063\u305f\u3089\u3001\u793e\u4f1a\u30ec\u30d9\u30eb\u3067\u304b\u306a\u308a\u5927\u5909\u306a\u3053\u3068\u306b\u306a\u308b\u3002<\/p>\n<p>\u3060\u304c\u3001\u305d\u306e\u4e00\u65b9\u3067\u3001\u3053\u308c\u3060\u3051\u30cd\u30c3\u30c8\u304c\u666e\u53ca\u3057\u3066\u3057\u307e\u3046\u3068\u3001\u5404\u7a2e\u30cd\u30c3\u30c8\u30b5\u30fc\u30d3\u30b9\u3092\u63d0\u4f9b\u3059\u308b\u306b\u3042\u305f\u3063\u3066\u30d6\u30e9\u30a6\u30b6\u304b\u3089 PC \u306e\u30ea\u30bd\u30fc\u30b9\u3092\u64cd\u4f5c\u3057\u305f\u3044\u3068\u3044\u3046\u8981\u6c42\u306f\u5f37\u304f\u5b58\u5728\u3059\u308b\u3002<\/p>\n<p>\u5b9f\u969b\u3001WebUSB \u306e\u3088\u3046\u306a\u898f\u683c\u3082\u5236\u5b9a\u3055\u308c\u3064\u3064\u3042\u308b\u306e\u3060\u304c\u3001\u5404\u7a2e\u6a5f\u80fd\u304c\u6d88\u3048\u305f\u308a\u5fa9\u6d3b\u3057\u305f\u308a\u3068\u4ed5\u69d8\u304c\u306a\u304b\u306a\u304b\u4e00\u5b9a\u3057\u306a\u3044\u3002<\/p>\n<p>\u305d\u308c\u3067 Native Messaging \u306e\u3088\u3046\u306a\u6280\u8853\u304c\u5fc5\u8981\u3068\u3055\u308c\u3066\u3044\u308b\u3001\u3068\u3044\u3046\u3053\u3068\u306a\u3093\u3060\u308d\u3046\u3002<\/p>\n<p>\u6700\u8fd1\u3060\u3068\u30de\u30a4\u30ca\u95a2\u4fc2\u306e\u30b5\u30a4\u30c8\u3067\u3001\u3053\u306e\u6280\u8853\u306f\u7d50\u69cb\u4f7f\u308f\u308c\u3066\u3044\u308b\u3088\u3046\u3060\u3002<\/p>\n<p>\u4eca\u306f\u904e\u6e21\u671f\u306a\u3093\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u8a71\u3092\u5143\u306b\u623b\u305d\u3046\u3002<\/p>\n<p>\u307e\u305a\u306f\u74b0\u5883\u306e\u69cb\u7bc9\u3002<\/p>\n<h2>\u6e96\u5099<\/h2>\n<p>\u30cd\u30a4\u30c6\u30a3\u30d6\u30a2\u30d7\u30ea\u3092\u547c\u3073\u51fa\u3059 chrome \u62e1\u5f35\u3068\u30cd\u30a4\u30c6\u30a3\u30d6\u30a2\u30d7\u30ea\u306e\u958b\u767a\u74b0\u5883\u3001\u305d\u308c\u3068\u30b5\u30fc\u30d0\u30fc\u6a5f\u80fd\u306e\u3042\u308b\u30c6\u30b9\u30c8\u74b0\u5883\u304c\u5fc5\u8981\u305d\u3046\u306a\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30d5\u30a9\u30eb\u30c0\u3092\u307e\u305a\u4f5c\u6210\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-1582\" src=\"https:\/\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/05\/nativemessaging-dev-env.png\" alt=\"\" width=\"648\" height=\"328\" srcset=\"https:\/\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/05\/nativemessaging-dev-env.png 648w, https:\/\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/05\/nativemessaging-dev-env-300x152.png 300w\" sizes=\"(max-width: 648px) 100vw, 648px\" \/><\/p>\n<p>opj-c \u30d5\u30a9\u30eb\u30c0\u3067\u547c\u3073\u51fa\u3055\u308c\u308b\u30cd\u30a4\u30c6\u30a3\u30d6\u30a2\u30d7\u30ea\u306e\u958b\u767a\u3001<br \/>\nbrowser \u30d5\u30a9\u30eb\u30c0\u3067 chrome \u62e1\u5f35\u306e\u958b\u767a\u3001<br \/>\ntestserver \u306b\u30c6\u30b9\u30c8\u74b0\u5883\u3092\u6574\u5099\u3001<\/p>\n<p>\u3068\u3044\u3046\u610f\u56f3\u3002<\/p>\n<p>\u3053\u3046\u3059\u308c\u3070\u3001\u521d\u5fc3\u8005\u3067\u3082\u6df7\u4e71\u3057\u306a\u3044\u3060\u308d\u3046\u3002<\/p>\n<p>testserver \u306b\u95a2\u3057\u3066\u306f\u3001\u4eca\u56de\u306f\u300e<a href=\"https:\/\/axia2016.blogspot.com\/2024\/01\/blog-post_23.html\">\u30a4\u30de\u30c9\u30ad\u306e\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u958b\u767a<\/a>\u300f\u3067\u7d39\u4ecb\u3055\u308c\u3066\u3044\u308b node &#8211; webpack \u306e\u3082\u306e\u3092\u4f7f\u3063\u305f\u3002<br \/>\n\u306a\u304a\u3001\u3053\u306e\u3068\u304d\u306e\u30a8\u30f3\u30c8\u30ea\u30dd\u30a4\u30f3\u30c8 index.js \u306f\u7a7a\u3067\u69cb\u308f\u306a\u3044\u3002<\/p>\n<h2>\u74b0\u5883\u306f\u30d0\u30c3\u30c1\u30ea\u306a\u3093\u3060\u3051\u3069\u3055<\/h2>\n<p>\u74b0\u5883\u3092\u6574\u3048\u305f\u5f8c\u3001\u30cd\u30c3\u30c8\u4e0a\u306e\u30b5\u30f3\u30d7\u30eb\u306a\u3069\u3092\u8a66\u3057\u305f\u30fb\u30fb\u30fb<\/p>\n<p>\u306e\u3060\u304c\u3001\u898b\u4e8b\u306a\u307e\u3067\u306b\u52d5\u304b\u306a\u3044\u306d\uff08\u7b11\uff09\u3002<\/p>\n<p>\u3053\u308c\u306b\u306f\u7406\u7531\u304c\u3042\u3063\u3066<\/p>\n<p>\u30fb\u73fe\u5728\u306e manifest.json \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\uff082 \u2192 3\uff09\u304c 2024\/11 \u3068\u9593\u8fd1\u306b\u8feb\u3063\u3066\u3044\u3066\u3001\u73fe\u884c\u306e chrome \u306f 3 \u63a8\u5968<\/p>\n<p>\u30fb3 \u306b\u3059\u308b\u3068\u66f8\u304d\u65b9\u306f\u3051\u3063\u3053\u3046\u5909\u308f\u308b\u3089\u3057\u304f\u5f93\u6765\u306e\u66f8\u304d\u65b9\u3067\u306f\u30a8\u30e9\u30fc\u304c\u51fa\u308b<\/p>\n<p>\u3068\u3044\u3046\u80cc\u666f\u304c\u3042\u308b\u3002<\/p>\n<p>\u3068\u308a\u3042\u3048\u305a\u3001\u300c\u52d5\u304f\u300dchrome \u62e1\u5f35\u306e manifest.json \u306e\u66f8\u304d\u65b9\u3092\u63d0\u793a\u3057\u3066\u304a\u304f\u3068<\/p>\n<pre><code>{\r\n  \"name\": \"Sample\",\r\n  \"version\": \"1.0.0\",\r\n  \"manifest_version\": 3,\r\n  \"description\": \"Sample Chrome Extension\",\r\n  \"background\": {\r\n    \"service_worker\": \"background.js\"\r\n  },\r\n  \"permissions\": [ \"nativeMessaging\"],\r\n  \"content_scripts\": [{\r\n    \"matches\": [\"http:\/\/localhost:3000\/*\"],\r\n    \"js\": [\r\n      \"content.js\"\r\n    ]\r\n  }]\r\n}<\/code><\/pre>\n<p>\u3053\u308c\u3092\u3001browser \u30d5\u30a9\u30eb\u30c0\u306b\u5165\u308c\u3066\u304a\u304f\u3002<\/p>\n<p>chrome \u62e1\u5f35\u306b\u767b\u9332\u3059\u308b\u969b\u306b\u306f\u3001browser \u30d5\u30a9\u30eb\u30c0\u3092\u6307\u5b9a\u3057\u3001\u30c7\u30d0\u30c3\u30b0\u306a\u3069\u306f testserver \u5185\u3067\u7acb\u3061\u4e0a\u3052\u305f node \u7531\u6765\u306e\u30b5\u30fc\u30d0\u306e\u6307\u5b9a\u306e\u30da\u30fc\u30b8\u3067\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u30012 \u2192 3 \u3067\u5927\u304d\u304f\u5909\u308f\u3063\u305f\u306e\u306f\u3001 service_worker \u3068\u3044\u3046\u66f8\u304d\u65b9\u3002<\/p>\n<p>\u3053\u308c\u306b\u95a2\u3057\u3066\u306f google \u516c\u5f0f\u304c\u300e<a href=\"https:\/\/developer.chrome.com\/docs\/extensions\/develop\/concepts\/service-workers?hl=ja\">\u62e1\u5f35\u6a5f\u80fd Service Worker \u306b\u3064\u3044\u3066<\/a>\u300f\u3068\u3044\u3046\u8a18\u4e8b\u3092\u516c\u958b\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u76ee\u3092\u901a\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<br \/>\n\u307e\u305f\u3001Service Worker \u3092\u4f7f\u3046 API \u3082\u516c\u5f0f\u304c<a href=\"https:\/\/developer.chrome.com\/docs\/extensions\/reference\/api\/runtime?hl=ja\">\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u516c\u958b<\/a>\u3057\u3066\u304f\u308c\u3066\u3044\u308b\u3002<\/p>\n<h2>host \u5074\u30a2\u30d7\u30ea<\/h2>\n<p>\u64cd\u4f5c\u3059\u308b\u30db\u30b9\u30c8 PC \u5074\u306e\u30a2\u30d7\u30ea\u3060\u304c\u3001\u4f55\u3067\u3082\u3044\u3044\u3068\u3044\u3046\u3082\u306e\u3067\u306f\u306a\u304f\u3001\u5165\u51fa\u529b\u306f<strong>\u6a19\u6e96\u5165\u51fa\u529b\u306b\u9650\u5b9a<\/strong>\u3055\u308c\u3066\u3044\u308b\u3002\uff08\u3053\u3053\u3089\u8fba\u3082\u4e0a\u8ff0\u306e\u300c\u30d6\u30e9\u30a6\u30b6\u304b\u3089 PC \u306e\u64cd\u4f5c\u306f\u5236\u9650\u3055\u308c\u3066\u3044\u308b\u300d\u3068\u3044\u3046\u5f71\u97ff\u3067\u3066\u307e\u3059\u306d\uff09<\/p>\n<p>\u3060\u304b\u3089\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u3084\u308a\u53d6\u308a\u306f stdio\uff08C \u306e\u5834\u5408\uff09\u3067\u884c\u3046\u5fc5\u8981\u304c\u3042\u308b\u3002<br \/>\nJava \u3067\u3042\u308c\u3070 System.in \u3042\u305f\u308a\u3092\u4f7f\u3046\u3002<\/p>\n<p>\u9069\u5f53\u306b\u4f5c\u6210\u3057\u3066\u307f\u308b\u3002<\/p>\n<p>\u3082\u3063\u3068\u3082\u3001\u30a2\u30d7\u30ea\u306f C \u3084 Java \u3067\u4f5c\u6210\u3057\u305f\u300c\u3044\u304b\u306b\u3082\u300d\u306a\u3082\u306e\u3067\u306a\u304f\u3066\u3082\u3088\u304f\u3001\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u3082\u3044\u3044\u3089\u3057\u3044\u306e\u3060\u304c\u3002<br \/>\n<span style=\"font-size: 10pt;\">\u53c2\u7167\uff1a\u300e<a href=\"https:\/\/laiso.hatenablog.com\/entry\/2013\/12\/15\/Google_Chrome%E3%81%A7%E3%83%88%E3%83%AC%E3%82%A4%E3%81%8B%E3%82%89CD%E3%82%92%E6%8E%92%E5%87%BA%E3%81%A7%E3%81%8D%E3%82%8B%E3%83%96%E3%83%A9%E3%82%A6%E3%82%B6%E6%8B%A1%E5%BC%B5%E3%82%92%E3%81%A4%E3%81%8F\">Google Chrome\u3067\u30c8\u30ec\u30a4\u304b\u3089CD\u3092\u6392\u51fa\u3067\u304d\u308b\u30d6\u30e9\u30a6\u30b6\u62e1\u5f35\u3092\u3064\u304f\u308a\u307e\u3057\u305f(Native messaging\u7248)<\/a>\u300f<\/span><\/p>\n<p>\u30db\u30b9\u30c8\u5074\u30a2\u30d7\u30ea\u306f\u3001\u7d30\u304b\u3044\u3053\u3068\u3092\u6c17\u306b\u3057\u306a\u3051\u308c\u3070\u3001\u3053\u3093\u306a\u3082\u306e\u3067\u3082\u52d5\u304f\u3002<\/p>\n<pre><code>#include &lt;stdio.h&gt;\r\n#include &lt;limits.h&gt;\r\n\r\nint main(){\r\n    \r\n    uint8_t *input;\r\n    uint8_t *buffer;\r\n    if((input = (uint8_t *)fgets((char *)buffer,INT_MAX,stdin)) != NULL){\r\n        \/\/\u78ba\u8a8d\u7528\r\n        \/\/for(int i=0;i&lt;sizeof(input);i++){\r\n        \/\/    printf(\"input data is %x\", input[i]);\r\n        \/\/}\r\n    }\r\n    fwrite(input, sizeof(input), INT_MAX, stdout);\r\n}\r\n<\/code><\/pre>\n<p>stdin \u3067\u5165\u3063\u3066\u304d\u305f\u30d0\u30a4\u30c8\u5217\u3092\u305d\u306e\u307e\u307e stdout \u3067\u8fd4\u3057\u3066\u3044\u308b\u3060\u3051\u3002<\/p>\n<p>\u3053\u308c\u3067\u3082 chrome \u62e1\u5f35\u5074\uff08\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\uff09\u306f\u53cd\u5fdc\u3057\u3066\u304f\u308c\u305f\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-1601\" src=\"https:\/\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/05\/chrome-extension-native-messaging-sourecode2.png\" alt=\"\" width=\"1422\" height=\"152\" srcset=\"https:\/\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/05\/chrome-extension-native-messaging-sourecode2.png 1422w, https:\/\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/05\/chrome-extension-native-messaging-sourecode2-300x32.png 300w, https:\/\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/05\/chrome-extension-native-messaging-sourecode2-1024x109.png 1024w, https:\/\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/05\/chrome-extension-native-messaging-sourecode2-768x82.png 768w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/p>\n<p>\u305f\u3060\u3001\u4ed5\u69d8\u306b\u306f\u5168\u304f\u3042\u3063\u3066\u3044\u306a\u3044\u3002JavaScript \u306f\u898b\u4e8b\u306a\u307e\u3067\u306b response \u3092 undefined \u3068\u8a8d\u8b58\u3057\u3066\u3044\u308b\uff08\u7b11\uff09\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-1599\" src=\"https:\/\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/05\/response-from-host-300x73.png\" alt=\"\" width=\"600\" height=\"147\" srcset=\"https:\/\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/05\/response-from-host-300x73.png 300w, https:\/\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/05\/response-from-host-768x188.png 768w, https:\/\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/05\/response-from-host.png 860w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>\u30db\u30b9\u30c8\u30a2\u30d7\u30ea\u304b\u3089\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u3001\u6b63\u3057\u304f\u306f<\/p>\n<p style=\"text-align: center;\">32byte \u30d8\u30c3\u30c0\uff08\u4ee5\u4e0b\u306e\u30c7\u30fc\u30bf\u9577\uff09 + <del>base64 \u3067\u30a8\u30f3\u30b3\u30fc\u30c9\u3055\u308c\u305f<\/del> JSON \u30c7\u30fc\u30bf<\/p>\n<p>\u306e\u30d0\u30a4\u30c8\u5217\u3067\u8fd4\u3055\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3089\u3057\u3044\u3002<br \/>\n\u2192\u3068\u66f8\u3044\u3066\u3044\u305f\u304c\u3001\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u306e\u30cd\u30a4\u30c6\u30a3\u30d6\u30a2\u30d7\u30ea\u304b\u3089\u306e\u30ec\u30b9\u30dd\u30f3\u30b9 {&#8220;message&#8221;:&#8221;sign&#8221;} \u3092 Service Worker \u306f\u6b63\u3057\u304f\u8aad\u3093\u3067\u3044\u305f\u306e\u3067\u3001\u5fc5\u305a\u3057\u3082 base64 \u3067\u30a8\u30f3\u30b3\u30fc\u30c9\u3059\u308b\u5fc5\u8981\u306f\u306a\u3055\u305d\u3046\u3060\u3002<\/p>\n<p>\u3069\u3046\u3084\u3089\u3001\u30d6\u30e9\u30a6\u30b6\u3068\u30db\u30b9\u30c8\u30a2\u30d7\u30ea\u306f Native Messaging \u3092\u4ecb\u3057\u3066\u304a\u8a71\u3067\u304d\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u306d\u3002<\/p>\n<p>\u3082\u3046\u3061\u3087\u3063\u3068\u3061\u3083\u3093\u3068\u66f8\u304f\u304b\u3068\u601d\u3063\u3066\u3044\u305f\u3089\u3001<a href=\"https:\/\/gist.github.com\/TotallyNotChase\/8c9e79ed967ae911869aec82545b21ae\">\u305d\u308c\u7528\u306e\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u3044\u308b\u4eba\u304c\u3044\u305f<\/a>\u306e\u3067\u3001\u3061\u3087\u3063\u3074\u308a\u6539\u5909\u3057\u3066\u4ee5\u4e0b\u306b\u63b2\u3052\u3066\u304a\u304f\u3002\uff08\u3057\u304b\u3057\u3001\u3053\u306e\u30b3\u30fc\u30c9\u306f\u306a\u304b\u306a\u304b\u6559\u80b2\u7684\u3067\u3059\u306d\uff09<\/p>\n<pre><code>#include &lt;stdio.h&gt;\r\n#include &lt;limits.h&gt;\r\n\r\n#include &lt;stdlib.h&gt;\r\n#include &lt;stdint.h&gt;\r\n#include &lt;unistd.h&gt;\r\n\r\nuint8_t* read_input()\r\n{\r\n    uint32_t length;\r\n    size_t count;\r\n    int err;\r\n    count = fread(&amp;length, sizeof(uint32_t), 1, stdin);\r\n    if (count != 1)\r\n    {\r\n        if (feof(stdin))\r\n        {\r\n            fprintf(stderr, \"Unexpectedly encountered EOF while reading file\\n\");\r\n        }\r\n        else if ((err = ferror(stdin)))\r\n        {\r\n            fprintf(stderr, \"An error occured while reading file, err code: %d\\n\", err);\r\n            clearerr(stdin);\r\n        }\r\n        return NULL;\r\n    }\r\n    uint8_t* value = malloc((length + 1) * sizeof(*value));\r\n    if (value == NULL)\r\n    {\r\n        fprintf(stderr, \"An error occured while allocating memory for value\");\r\n        return NULL;\r\n    }\r\n    count = fread(value, sizeof(*value), length, stdin);\r\n    if (count != length)\r\n    {\r\n        if (feof(stdin))\r\n        {\r\n            fprintf(stderr, \"Unexpectedly encountered EOF while reading file\\n\");\r\n        }\r\n        else if ((err = ferror(stdin)))\r\n        {\r\n            fprintf(stderr, \"An error occured while reading file, err code: %d\\n\", err);\r\n            clearerr(stdin);\r\n        }\r\n        free(value);\r\n        return NULL;\r\n    }\r\n    return value;\r\n}\r\n\r\nsize_t write_output(const uint8_t* const value, uint32_t length)\r\n{\r\n    size_t count;\r\n    int err;\r\n    if (length &gt; (1024 * 1024)) {\r\n        fprintf(stderr, \"Message too large\");\r\n        return 0;\r\n    }\r\n    count = fwrite(&amp;length, sizeof(uint32_t), 1, stdout);\r\n    if (count != 1)\r\n    {\r\n        if (feof(stdout))\r\n        {\r\n            fprintf(stderr, \"Unexpectedly encountered EOF while reading file\\n\");\r\n        }\r\n        else if ((err = ferror(stdout)))\r\n        {\r\n            fprintf(stderr, \"An error occured while reading file, err code: %d\\n\", err);\r\n            clearerr(stdout);\r\n        }\r\n        return 0;\r\n    }\r\n    count = fwrite(value, sizeof(char), length, stdout);\r\n    if (count != length)\r\n    {\r\n        if (feof(stdout))\r\n        {\r\n            fprintf(stderr, \"Unexpectedly encountered EOF while writing file\\n\");\r\n        }\r\n        else if ((err = ferror(stdout)))\r\n        {\r\n            fprintf(stderr, \"An error occured while writing file, err code: %d\\n\", err);\r\n            clearerr(stdout);\r\n        }\r\n        return 0;\r\n    }\r\n    fflush(stdout);\r\n    return length + 4;\r\n}\r\n\r\nint main()\r\n{\r\n    size_t count;\r\n    uint8_t* val = read_input();\r\n    if (val == NULL)\r\n    {\r\n        exit(EXIT_FAILURE);\r\n    }\r\n    sleep(3);\/\/add akiba-chan\r\n    count = write_output((uint8_t*)\"{\\\"msg\\\":\\\"sign\\\"}\", 14);\r\n    if (count != 18)\r\n    {\r\n        free(val);\r\n        exit(EXIT_FAILURE);\r\n    }\r\n    free(val);\r\n}<\/code><\/pre>\n<p>\u300c\u3061\u3087\u3063\u3074\u308a\u6539\u5909\u300d\u3068\u3044\u3046\u306e\u306f\u3001 main \u95a2\u6570\u5185\u306e sleep(3) \u306e\u8ffd\u52a0\u3002<br \/>\nPC \u30cf\u30fc\u30c9\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u4f7f\u3046\u5834\u5408\u3001\u5927\u62b5\u306e\u5834\u5408\u3001\u30bd\u30d5\u30c8\u7684\u306a\u51e6\u7406\u306b\u6bd4\u3079\u6642\u9593\u304c\u304b\u304b\u308b\u3002<br \/>\n\u305d\u306e\u305f\u3081\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u3063\u3066\u304b\u3089\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u8fd4\u3063\u3066\u304f\u308b\u307e\u3067\u79d2\u5358\u4f4d\u306e\u6642\u9593\u3092\u8a2d\u5b9a\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u3002<br \/>\n\uff08x \u79d2\u5f85\u3061\u305f\u3044\u3068\u304d\u306f sleep(x) \u3068\u3059\u308b\uff09<\/p>\n<p>\u5b9f\u969b\u3001\u30de\u30a4\u30ca\uff08PKI\uff09\u30ab\u30fc\u30c9\u306e\u7f72\u540d\u51e6\u7406\u3067\u306f\u6570\u79d2\u5358\u4f4d\u306e\u6642\u9593\u304c\u304b\u304b\u308b\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\uff08\u7d9a\u304f\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30cd\u30c3\u30c8\u3092\u5f77\u5fa8\u3063\u3066\u3044\u3066\u300c\u3078\u30fc\u300d\u3068\u3044\u305f\u304f\u611f\u5fc3\u3057\u305f\u8a18\u4e8b\u3002 \u300eNative Messaging \u3092\u4f7f\u3044\u3001\u30d6\u30e9\u30a6\u30b6\u62e1\u5f35\u3067\u30d7\u30ed\u30bb\u30b9\u9593\u901a\u4fe1\u3092\u884c\u3046\u65b9\u6cd5\u300f Native Messaging \u3092\u7528\u3044\u308b\u3068\u3001Web \u30d6\u30e9\u30a6\u30b6\u3068\u306f\u5225\u306b\u3001\u30e6\u30fc\u30b6\u30fc\u306e &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/p-horlix.net\/umamusume-phazor\/?p=1580\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;chrome \u62e1\u5f35\u3067 PC \u30cd\u30a4\u30c6\u30a3\u30d6\u30a2\u30d7\u30ea\u3068\u304a\u8a71\u3059\u308b -Native Messaging-&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":3,"featured_media":1590,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[89,99],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>chrome \u62e1\u5f35\u3067 PC \u30cd\u30a4\u30c6\u30a3\u30d6\u30a2\u30d7\u30ea\u3068\u304a\u8a71\u3059\u308b -Native Messaging- | \u79cb\u8449\u3061\u3083\u3093\u306d\u308b\u3010\u5225\u9928\u3011<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/p-horlix.net\/umamusume-phazor\/?p=1580\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"chrome \u62e1\u5f35\u3067 PC \u30cd\u30a4\u30c6\u30a3\u30d6\u30a2\u30d7\u30ea\u3068\u304a\u8a71\u3059\u308b -Native Messaging- | \u79cb\u8449\u3061\u3083\u3093\u306d\u308b\u3010\u5225\u9928\u3011\" \/>\n<meta property=\"og:description\" content=\"\u30cd\u30c3\u30c8\u3092\u5f77\u5fa8\u3063\u3066\u3044\u3066\u300c\u3078\u30fc\u300d\u3068\u3044\u305f\u304f\u611f\u5fc3\u3057\u305f\u8a18\u4e8b\u3002 \u300eNative Messaging \u3092\u4f7f\u3044\u3001\u30d6\u30e9\u30a6\u30b6\u62e1\u5f35\u3067\u30d7\u30ed\u30bb\u30b9\u9593\u901a\u4fe1\u3092\u884c\u3046\u65b9\u6cd5\u300f Native Messaging \u3092\u7528\u3044\u308b\u3068\u3001Web \u30d6\u30e9\u30a6\u30b6\u3068\u306f\u5225\u306b\u3001\u30e6\u30fc\u30b6\u30fc\u306e &hellip; &quot;chrome \u62e1\u5f35\u3067 PC \u30cd\u30a4\u30c6\u30a3\u30d6\u30a2\u30d7\u30ea\u3068\u304a\u8a71\u3059\u308b -Native Messaging-&quot; \u306e\u7d9a\u304d\u3092\u8aad\u3080\" \/>\n<meta property=\"og:url\" content=\"https:\/\/p-horlix.net\/umamusume-phazor\/?p=1580\" \/>\n<meta property=\"og:site_name\" content=\"\u79cb\u8449\u3061\u3083\u3093\u306d\u308b\u3010\u5225\u9928\u3011\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Akiba.Chan.2021\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-05-11T00:15:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-15T10:28:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/05\/nativemessaging-chrome-extension.png\" \/>\n\t<meta property=\"og:image:width\" content=\"900\" \/>\n\t<meta property=\"og:image:height\" content=\"456\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@AkibaChan3\" \/>\n<meta name=\"twitter:site\" content=\"@AkibaChan3\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u79cb\u8449\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/p-horlix.net\/umamusume-phazor\/#website\",\"url\":\"https:\/\/p-horlix.net\/umamusume-phazor\/\",\"name\":\"\u79cb\u8449\u3061\u3083\u3093\u306d\u308b\u3010\u5225\u9928\u3011\",\"description\":\"\u30a6\u30de\u5a18\u95a2\u9023\u306e\u30cd\u30bf\u304c\u591a\u3044\u3067\u3057\u3087\u3046\u304b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/p-horlix.net\/umamusume-phazor\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/p-horlix.net\/umamusume-phazor\/?p=1580#primaryimage\",\"inLanguage\":\"ja\",\"url\":\"https:\/\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/05\/nativemessaging-chrome-extension.png\",\"contentUrl\":\"https:\/\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/05\/nativemessaging-chrome-extension.png\",\"width\":900,\"height\":456},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/p-horlix.net\/umamusume-phazor\/?p=1580#webpage\",\"url\":\"https:\/\/p-horlix.net\/umamusume-phazor\/?p=1580\",\"name\":\"chrome \u62e1\u5f35\u3067 PC \u30cd\u30a4\u30c6\u30a3\u30d6\u30a2\u30d7\u30ea\u3068\u304a\u8a71\u3059\u308b -Native Messaging- | \u79cb\u8449\u3061\u3083\u3093\u306d\u308b\u3010\u5225\u9928\u3011\",\"isPartOf\":{\"@id\":\"https:\/\/p-horlix.net\/umamusume-phazor\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/p-horlix.net\/umamusume-phazor\/?p=1580#primaryimage\"},\"datePublished\":\"2024-05-11T00:15:44+00:00\",\"dateModified\":\"2024-05-15T10:28:10+00:00\",\"author\":{\"@id\":\"https:\/\/p-horlix.net\/umamusume-phazor\/#\/schema\/person\/6a538594548c2ec36955811c54070308\"},\"breadcrumb\":{\"@id\":\"https:\/\/p-horlix.net\/umamusume-phazor\/?p=1580#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/p-horlix.net\/umamusume-phazor\/?p=1580\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/p-horlix.net\/umamusume-phazor\/?p=1580#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"HOME\",\"item\":\"https:\/\/p-horlix.net\/umamusume-phazor\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"chrome \u62e1\u5f35\u3067 PC \u30cd\u30a4\u30c6\u30a3\u30d6\u30a2\u30d7\u30ea\u3068\u304a\u8a71\u3059\u308b -Native Messaging-\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/p-horlix.net\/umamusume-phazor\/#\/schema\/person\/6a538594548c2ec36955811c54070308\",\"name\":\"\u79cb\u8449\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/p-horlix.net\/umamusume-phazor\/#personlogo\",\"inLanguage\":\"ja\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7f6d2dae0b83715553d92792c84890d9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7f6d2dae0b83715553d92792c84890d9?s=96&d=mm&r=g\",\"caption\":\"\u79cb\u8449\"},\"url\":\"https:\/\/p-horlix.net\/umamusume-phazor\/?author=3\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"chrome \u62e1\u5f35\u3067 PC \u30cd\u30a4\u30c6\u30a3\u30d6\u30a2\u30d7\u30ea\u3068\u304a\u8a71\u3059\u308b -Native Messaging- | \u79cb\u8449\u3061\u3083\u3093\u306d\u308b\u3010\u5225\u9928\u3011","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/p-horlix.net\/umamusume-phazor\/?p=1580","og_locale":"ja_JP","og_type":"article","og_title":"chrome \u62e1\u5f35\u3067 PC \u30cd\u30a4\u30c6\u30a3\u30d6\u30a2\u30d7\u30ea\u3068\u304a\u8a71\u3059\u308b -Native Messaging- | \u79cb\u8449\u3061\u3083\u3093\u306d\u308b\u3010\u5225\u9928\u3011","og_description":"\u30cd\u30c3\u30c8\u3092\u5f77\u5fa8\u3063\u3066\u3044\u3066\u300c\u3078\u30fc\u300d\u3068\u3044\u305f\u304f\u611f\u5fc3\u3057\u305f\u8a18\u4e8b\u3002 \u300eNative Messaging \u3092\u4f7f\u3044\u3001\u30d6\u30e9\u30a6\u30b6\u62e1\u5f35\u3067\u30d7\u30ed\u30bb\u30b9\u9593\u901a\u4fe1\u3092\u884c\u3046\u65b9\u6cd5\u300f Native Messaging \u3092\u7528\u3044\u308b\u3068\u3001Web \u30d6\u30e9\u30a6\u30b6\u3068\u306f\u5225\u306b\u3001\u30e6\u30fc\u30b6\u30fc\u306e &hellip; \"chrome \u62e1\u5f35\u3067 PC \u30cd\u30a4\u30c6\u30a3\u30d6\u30a2\u30d7\u30ea\u3068\u304a\u8a71\u3059\u308b -Native Messaging-\" \u306e\u7d9a\u304d\u3092\u8aad\u3080","og_url":"https:\/\/p-horlix.net\/umamusume-phazor\/?p=1580","og_site_name":"\u79cb\u8449\u3061\u3083\u3093\u306d\u308b\u3010\u5225\u9928\u3011","article_publisher":"https:\/\/www.facebook.com\/Akiba.Chan.2021\/","article_published_time":"2024-05-11T00:15:44+00:00","article_modified_time":"2024-05-15T10:28:10+00:00","og_image":[{"width":900,"height":456,"url":"https:\/\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/05\/nativemessaging-chrome-extension.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_creator":"@AkibaChan3","twitter_site":"@AkibaChan3","twitter_misc":{"\u57f7\u7b46\u8005":"\u79cb\u8449","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/p-horlix.net\/umamusume-phazor\/#website","url":"https:\/\/p-horlix.net\/umamusume-phazor\/","name":"\u79cb\u8449\u3061\u3083\u3093\u306d\u308b\u3010\u5225\u9928\u3011","description":"\u30a6\u30de\u5a18\u95a2\u9023\u306e\u30cd\u30bf\u304c\u591a\u3044\u3067\u3057\u3087\u3046\u304b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/p-horlix.net\/umamusume-phazor\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"ImageObject","@id":"https:\/\/p-horlix.net\/umamusume-phazor\/?p=1580#primaryimage","inLanguage":"ja","url":"https:\/\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/05\/nativemessaging-chrome-extension.png","contentUrl":"https:\/\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/05\/nativemessaging-chrome-extension.png","width":900,"height":456},{"@type":"WebPage","@id":"https:\/\/p-horlix.net\/umamusume-phazor\/?p=1580#webpage","url":"https:\/\/p-horlix.net\/umamusume-phazor\/?p=1580","name":"chrome \u62e1\u5f35\u3067 PC \u30cd\u30a4\u30c6\u30a3\u30d6\u30a2\u30d7\u30ea\u3068\u304a\u8a71\u3059\u308b -Native Messaging- | \u79cb\u8449\u3061\u3083\u3093\u306d\u308b\u3010\u5225\u9928\u3011","isPartOf":{"@id":"https:\/\/p-horlix.net\/umamusume-phazor\/#website"},"primaryImageOfPage":{"@id":"https:\/\/p-horlix.net\/umamusume-phazor\/?p=1580#primaryimage"},"datePublished":"2024-05-11T00:15:44+00:00","dateModified":"2024-05-15T10:28:10+00:00","author":{"@id":"https:\/\/p-horlix.net\/umamusume-phazor\/#\/schema\/person\/6a538594548c2ec36955811c54070308"},"breadcrumb":{"@id":"https:\/\/p-horlix.net\/umamusume-phazor\/?p=1580#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/p-horlix.net\/umamusume-phazor\/?p=1580"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/p-horlix.net\/umamusume-phazor\/?p=1580#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"HOME","item":"https:\/\/p-horlix.net\/umamusume-phazor"},{"@type":"ListItem","position":2,"name":"chrome \u62e1\u5f35\u3067 PC \u30cd\u30a4\u30c6\u30a3\u30d6\u30a2\u30d7\u30ea\u3068\u304a\u8a71\u3059\u308b -Native Messaging-"}]},{"@type":"Person","@id":"https:\/\/p-horlix.net\/umamusume-phazor\/#\/schema\/person\/6a538594548c2ec36955811c54070308","name":"\u79cb\u8449","image":{"@type":"ImageObject","@id":"https:\/\/p-horlix.net\/umamusume-phazor\/#personlogo","inLanguage":"ja","url":"https:\/\/secure.gravatar.com\/avatar\/7f6d2dae0b83715553d92792c84890d9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7f6d2dae0b83715553d92792c84890d9?s=96&d=mm&r=g","caption":"\u79cb\u8449"},"url":"https:\/\/p-horlix.net\/umamusume-phazor\/?author=3"}]}},"jetpack_featured_media_url":"https:\/\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/05\/nativemessaging-chrome-extension.png","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":1646,"url":"https:\/\/p-horlix.net\/umamusume-phazor\/?p=1646","url_meta":{"origin":1580,"position":0},"title":"NativeMessaging -host \u30a2\u30d7\u30ea\u3068\u30d6\u30e9\u30a6\u30b6\u62e1\u5f35\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u306e\u53d6\u308a\u65b9-","date":"2024-05-17","format":false,"excerpt":"NativeMessaging \u306e\u7d9a\u304d\u3002 \u5358\u7d14\u306a host \u30a2\u30d7\u30ea- chrome \u62e1\u5f35\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u2026","rel":"","context":"JavaScript","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/05\/nativemessaging-chrome-extension.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1608,"url":"https:\/\/p-horlix.net\/umamusume-phazor\/?p=1608","url_meta":{"origin":1580,"position":1},"title":"JavaScript \u306e\u975e\u540c\u671f\u51e6\u7406\u306e\u30af\u30bb\u304c\u5f37\u3044\u3093\u3058\u3083\u3070","date":"2024-05-13","format":false,"excerpt":"\u308f\u308c\u308f\u308c\u306e\u30b0\u30eb\u30fc\u30d7\uff08\u30cd\u30bf\u306e\u307f\u63d0\u4f9b\u8005\u542b\u3080\uff09\u306f\u3001\u3069\u3046\u3044\u3046\u308f\u3051\u304b JavaScript \uff08\u3064\u304b node \u2026","rel":"","context":"JavaScript","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/05\/Javascript-promise-async.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1503,"url":"https:\/\/p-horlix.net\/umamusume-phazor\/?p=1503","url_meta":{"origin":1580,"position":2},"title":"Chrome \u62e1\u5f35\u30ef\u30b6\u3092\u899a\u3048\u308b","date":"2024-04-13","format":false,"excerpt":"\u306a\u3093\u3067\u3082\u3044\u3044\u304b\u3089\u5165\u9580\u8a18\u4e8b\u3067\u624b\u3092\u52d5\u304b\u3059\u3002 \u53c2\u8003\uff1a\u3068\u307b\u307b\u3055\u3093\u306e\u8a18\u4e8b\u3002 \u6700\u521d\u306f popup \u3092\u51fa\u3059\u6a5f\u80fd\u62e1\u5f35\u2026","rel":"","context":"Chrome \u62e1\u5f35","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/04\/chrome-extensions.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1514,"url":"https:\/\/p-horlix.net\/umamusume-phazor\/?p=1514","url_meta":{"origin":1580,"position":3},"title":"WebAssembly -JavaScript \u3068 C\/C++ \u306e\u9023\u643a-","date":"2024-04-13","format":false,"excerpt":"\u3053\u306e\u3068\u3053\u308d JavaScript \u3067 C\/C++ \u3092\u4f7f\u3046\u65b9\u6cd5\u3092\u8abf\u3079\u3066\u3044\u308b\u3002 \u3044\u304f\u3064\u304b\u65b9\u6cd5\u304c\u3042\u308b\u3088\u3046\u306a\u2026","rel":"","context":"WebAssembly","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/04\/webassembly-emscripten.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1517,"url":"https:\/\/p-horlix.net\/umamusume-phazor\/?p=1517","url_meta":{"origin":1580,"position":4},"title":"node.js \u306b\u6163\u308c\u3066\u304d\u305f\u6642\u306b\u8aad\u3080\u8a18\u4e8b","date":"2024-04-13","format":false,"excerpt":"node.js \u306f JavaScript \u5b9f\u884c\u74b0\u5883\u3068\u6349\u3048\u305f\u65b9\u304c\u3044\u3044\u3002 \u3060\u304b\u3089\u3001\uff08\u30d6\u30e9\u30a6\u30b6\u3067\u306f\u306a\u304f\uff09\u30b3\u2026","rel":"","context":"JavaScript","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2024\/01\/node-js.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":503,"url":"https:\/\/p-horlix.net\/umamusume-phazor\/?p=503","url_meta":{"origin":1580,"position":5},"title":"JAX-RS \u3068 JSON \u3068 List \u3068 hibernate","date":"2022-12-13","format":false,"excerpt":"\u304a\u3055\u3089\u3044 REST api \u3092\u81ea\u4f5c\u3057\u3066\u308b\u3068 response \u3068\u3057\u3066 List \u3092\u542b\u3093\u3060 JSON \u2026","rel":"","context":"Java","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/p-horlix.net\/umamusume-phazor\/wp-content\/uploads\/2022\/09\/Java-JakartaEE-JAX_RS.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/p-horlix.net\/umamusume-phazor\/index.php?rest_route=\/wp\/v2\/posts\/1580"}],"collection":[{"href":"https:\/\/p-horlix.net\/umamusume-phazor\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/p-horlix.net\/umamusume-phazor\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/p-horlix.net\/umamusume-phazor\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/p-horlix.net\/umamusume-phazor\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1580"}],"version-history":[{"count":27,"href":"https:\/\/p-horlix.net\/umamusume-phazor\/index.php?rest_route=\/wp\/v2\/posts\/1580\/revisions"}],"predecessor-version":[{"id":1624,"href":"https:\/\/p-horlix.net\/umamusume-phazor\/index.php?rest_route=\/wp\/v2\/posts\/1580\/revisions\/1624"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/p-horlix.net\/umamusume-phazor\/index.php?rest_route=\/wp\/v2\/media\/1590"}],"wp:attachment":[{"href":"https:\/\/p-horlix.net\/umamusume-phazor\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1580"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/p-horlix.net\/umamusume-phazor\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1580"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/p-horlix.net\/umamusume-phazor\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1580"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}