{"id":796,"date":"2026-05-27T11:04:32","date_gmt":"2026-05-27T03:04:32","guid":{"rendered":"https:\/\/blog.zwdblog.online\/?p=796"},"modified":"2026-05-27T11:04:32","modified_gmt":"2026-05-27T03:04:32","slug":"%e6%89%a3%e5%ad%90%e5%b7%a5%e4%bd%9c%e6%b5%81%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%9a%e7%94%a8-chrome-%e6%8f%92%e4%bb%b6%e8%ae%a9-ai-%e5%b8%ae%e4%bd%a0%e6%8b%96%e6%8b%bd%e5%bb%ba%e6%b5%81%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/blog.zwdblog.online\/index.php\/2026\/05\/27\/%e6%89%a3%e5%ad%90%e5%b7%a5%e4%bd%9c%e6%b5%81%e8%87%aa%e5%8a%a8%e5%8c%96%ef%bc%9a%e7%94%a8-chrome-%e6%8f%92%e4%bb%b6%e8%ae%a9-ai-%e5%b8%ae%e4%bd%a0%e6%8b%96%e6%8b%bd%e5%bb%ba%e6%b5%81%e7%a8%8b\/","title":{"rendered":"\u6263\u5b50\u5de5\u4f5c\u6d41\u81ea\u52a8\u5316\uff1a\u7528 Chrome \u63d2\u4ef6\u8ba9 AI \u5e2e\u4f60\u62d6\u62fd\u5efa\u6d41\u7a0b"},"content":{"rendered":"<p>\u4e0a\u5468\u8ddf\u670b\u53cb\u804a\u5230\u4e00\u4e2a\u60f3\u6cd5\uff1a<strong>\u505a\u4e00\u4e2a Chrome \u63d2\u4ef6\uff0c\u8ba9\u7528\u6237\u5728\u6263\u5b50\uff08Coze\uff09\u91cc\u7528\u81ea\u7136\u8bed\u8a00\u63cf\u8ff0\u9700\u6c42\uff0c\u63d2\u4ef6\u81ea\u52a8\u62d6\u62fd\u8282\u70b9\u3001\u8fde\u7ebf\u3001\u586b\u53c2\u6570\uff0c\u628a\u5de5\u4f5c\u6d41\u5efa\u597d<\/strong>\u3002<\/p>\n<p>\u8fd9\u4e1c\u897f\u6280\u672f\u4e0a\u5b8c\u5168\u53ef\u884c\uff0c\u800c\u4e14\u5e02\u9762\u4e0a\u8fd8\u6ca1\u6709\u540c\u7c7b\u4ea7\u54c1\u3002\u4eca\u5929\u628a\u8fd9\u4e2a\u601d\u8def\u62c6\u89e3\u4e00\u4e0b\u3002<\/p>\n<h2>\u4e3a\u4ec0\u4e48\u9700\u8981\u8fd9\u4e2a\u4e1c\u897f\uff1f<\/h2>\n<p>\u6263\u5b50\u7684\u5de5\u4f5c\u6d41\u529f\u80fd\u5f88\u5f3a\uff0c\u4f46<strong>\u5efa\u5de5\u4f5c\u6d41\u7684\u8fc7\u7a0b\u5f88\u7e41\u7410<\/strong>\uff1a\u62d6\u8282\u70b9\u3001\u8fde\u7ebf\u3001\u70b9\u5f00\u914d\u7f6e\u9762\u677f\u586b prompt\u3001\u9009\u6a21\u578b\u3001\u8bbe\u53c2\u6570\u2014\u2014\u4e00\u4e2a\u7b80\u5355\u7684\u5de5\u4f5c\u6d41\u8d77\u7801\u8981\u70b9\u5341\u51e0\u4e0b\u3002<\/p>\n<p>\u66f4\u5173\u952e\u7684\u662f\uff0c\u5f88\u591a\u4eba<strong>\u4e0d\u77e5\u9053\u600e\u4e48\u8bbe\u8ba1\u5de5\u4f5c\u6d41<\/strong>\u3002\u4ed6\u4eec\u77e5\u9053\u81ea\u5df1\u60f3\u8981\u4ec0\u4e48\u6548\u679c\uff08\u6bd4\u5982&#8221;\u6839\u636e\u5173\u952e\u8bcd\u81ea\u52a8\u751f\u6210\u5c0f\u7ea2\u4e66\u7b14\u8bb0&#8221;\uff09\uff0c\u4f46\u4e0d\u77e5\u9053\u8be5\u7528\u54ea\u4e9b\u8282\u70b9\u3001\u600e\u4e48\u8fde\u7ebf\u3001prompt \u600e\u4e48\u5199\u3002<\/p>\n<p>\u5982\u679c\u6709\u500b\u63d2\u4ef6\uff0c\u4f60\u53ea\u9700\u8981\u8bf4\u4e00\u53e5&#8221;\u5e2e\u6211\u505a\u4e00\u4e2a\u5c0f\u7ea2\u4e66\u7206\u6b3e\u7b14\u8bb0\u751f\u6210\u5668&#8221;\uff0c\u5b83\u81ea\u52a8\u5e2e\u4f60\u628a\u5de5\u4f5c\u6d41\u642d\u597d\u2014\u2014\u8fd9\u4f53\u9a8c\u5c31\u4ece&#8221;\u624b\u52a8\u6321&#8221;\u53d8\u6210\u4e86&#8221;\u81ea\u52a8\u6321&#8221;\u3002<\/p>\n<h2>\u6280\u672f\u8def\u7ebf<\/h2>\n<h3>1. Chrome Extension + Content Script<\/h3>\n<p>\u63d2\u4ef6\u6ce8\u5165\u5230\u6263\u5b50\u9875\u9762\uff0c\u83b7\u53d6\u9875\u9762 DOM \u63a7\u5236\u6743\u3002\u6838\u5fc3\u662f Content Script\u2014\u2014\u5b83\u80fd\u5728\u6263\u5b50\u7684\u7f51\u9875\u73af\u5883\u91cc\u6267\u884c JS \u4ee3\u7801\u3002<\/p>\n<h3>2. \u62d6\u62fd\u6a21\u62df<\/h3>\n<p>\u6263\u5b50\u7684\u8282\u70b9\u9762\u677f\u662f\u4e00\u4e2a\u53ef\u62d6\u62fd\u5217\u8868\uff0c\u753b\u5e03\u662f\u4e00\u4e2a\u652f\u6301 Drop \u7684\u533a\u57df\u3002\u6a21\u62df\u62d6\u62fd\u7684\u6b65\u9aa4\uff1a<\/p>\n<ul>\n<li>\u627e\u5230\u5de6\u4fa7\u8282\u70b9\u9762\u677f\u4e2d\u5bf9\u5e94\u8282\u70b9\u7c7b\u578b\u7684 DOM \u5143\u7d20<\/li>\n<li>\u6a21\u62df mousedown \u4e8b\u4ef6\uff08\u5728\u8282\u70b9\u4e0a\u6309\u4e0b\u9f20\u6807\uff09<\/li>\n<li>\u6a21\u62df mousemove \u4e8b\u4ef6\uff08\u62d6\u5230\u753b\u5e03\u76ee\u6807\u4f4d\u7f6e\uff09<\/li>\n<li>\u6a21\u62df mouseup \u4e8b\u4ef6\uff08\u677e\u624b\u653e\u4e0b\uff09<\/li>\n<\/ul>\n<p>\u5173\u952e\u662f\u786e\u5b9a\u6bcf\u4e2a\u8282\u70b9\u5728\u9762\u677f\u4e2d\u7684\u9009\u62e9\u5668\u2014\u2014\u6263\u5b50\u7528\u7684\u662f React\uff0cDOM \u7ed3\u6784\u53ef\u80fd\u4f1a\u53d8\uff0c\u9700\u8981\u505a\u517c\u5bb9\u3002<\/p>\n<h3>3. \u8fde\u7ebf\u6a21\u62df<\/h3>\n<p>\u8282\u70b9\u4e4b\u95f4\u8fde\u7ebf\u7684\u4ea4\u4e92\u662f\uff1a\u4ece\u8282\u70b9 A \u7684\u8f93\u51fa\u53e3\u62d6\u5230\u8282\u70b9 B \u7684\u8f93\u5165\u53e3\u3002\u5b9e\u73b0\u65b9\u5f0f\u7c7b\u4f3c\u62d6\u62fd\uff0c\u4f46\u8d77\u6b62\u70b9\u662f\u753b\u5e03\u4e0a\u7684 SVG \u5706\u70b9\u3002<\/p>\n<p>\u9700\u8981\u627e\u5230\u6bcf\u4e2a\u8282\u70b9\u7684\u8f93\u51fa\u7aef\u53e3\u548c\u8f93\u5165\u7aef\u53e3\u7684 DOM \u5750\u6807\uff0c\u7136\u540e\u6a21\u62df\u62d6\u62fd\u3002<\/p>\n<h3>4. \u914d\u7f6e\u586b\u5145<\/h3>\n<p>\u8282\u70b9\u62d6\u5230\u753b\u5e03\u540e\uff0c\u9700\u8981\u70b9\u51fb\u8282\u70b9\u6253\u5f00\u53f3\u4fa7\u914d\u7f6e\u9762\u677f\uff0c\u7136\u540e\u586b\u5145\u5185\u5bb9\uff08prompt\u3001\u6a21\u578b\u9009\u62e9\u7b49\uff09\u3002\u8fd9\u6b65\u6700\u5bb9\u6613\u51fa\u95ee\u9898\u2014\u2014\u914d\u7f6e\u9762\u677f\u7684 DOM \u7ed3\u6784\u968f\u8282\u70b9\u7c7b\u578b\u4e0d\u540c\u800c\u4e0d\u540c\u3002<\/p>\n<h3>5. LLM \u7ffb\u8bd1\u5c42<\/h2>\n<p>\u7528\u6237\u8f93\u5165\u81ea\u7136\u8bed\u8a00\uff08\u5982&#8221;\u505a\u4e00\u4e2a\u5c0f\u7ea2\u4e66\u7b14\u8bb0\u751f\u6210\u5668&#8221;\uff09\uff0c\u9700\u8981\u4e00\u4e2a LLM \u6765\u7ffb\u8bd1\u6210\u7ed3\u6784\u5316\u7684\u8282\u70b9\u914d\u7f6e\uff1a<\/p>\n<pre><code>{  \"nodes\": [    {\"type\": \"start\", \"outputs\": [\"keyword\"]},    {\"type\": \"llm\", \"prompt\": \"\u6839\u636e\u5173\u952e\u8bcd\u751f\u62105\u4e2a\u5c0f\u7ea2\u4e66\u7206\u6b3e\u6807\u9898...\"},    {\"type\": \"code\", \"code\": \"\u968f\u673a\u9009\u4e00\u4e2a\u6807\u9898\"},    {\"type\": \"llm\", \"prompt\": \"\u6839\u636e\u6807\u9898\u751f\u6210800-1200\u5b57\u6b63\u6587...\"},    {\"type\": \"condition\", \"condition\": \"\u6b63\u6587\u957f\u5ea6 >= 800\"},    {\"type\": \"end\", \"outputs\": [\"title\", \"content\"]}  ],  \"edges\": [    {\"from\": 0, \"to\": 1},    {\"from\": 1, \"to\": 2},    {\"from\": 2, \"to\": 3},    {\"from\": 3, \"to\": 4, \"label\": \"yes\"},    {\"from\": 4, \"to\": 3, \"label\": \"no\"},    {\"from\": 4, \"to\": 5, \"label\": \"yes\"}  ]}<\/code><\/pre>\n<p>\u8fd9\u4e2a\u7ffb\u8bd1\u7528 GPT-4o \u6216 Claude \u90fd\u80fd\u641e\u5b9a\uff0c\u5173\u952e\u662f Prompt \u8981\u5199\u597d\u2014\u2014\u9700\u8981\u544a\u8bc9 LLM \u6263\u5b50\u652f\u6301\u54ea\u4e9b\u8282\u70b9\u7c7b\u578b\u3001\u6bcf\u79cd\u8282\u70b9\u7684\u914d\u7f6e\u683c\u5f0f\u3002<\/p>\n<h2>\u6700\u5927\u7684\u6311\u6218\uff1a\u6263\u5b50\u7684 DOM \u4f1a\u53d8<\/h2>\n<p>\u6263\u5b50\u662f\u5b57\u8282\u8df3\u52a8\u7684\u4ea7\u54c1\uff0c\u524d\u7aef\u8fed\u4ee3\u5f88\u5feb\u3002\u4eca\u5929\u80fd\u7528\u7684\u9009\u62e9\u5668\uff0c\u4e0b\u4e2a\u6708\u53ef\u80fd\u5c31\u6539\u4e86\u3002<\/p>\n<p>\u5e94\u5bf9\u65b9\u6848\uff1a<\/p>\n<ul>\n<li><strong>\u4e0d\u8981\u786c\u7f16\u7801\u9009\u62e9\u5668<\/strong>\uff1a\u7528\u8bed\u4e49\u5316\u7684\u65b9\u5f0f\u627e\u5143\u7d20\uff08\u6bd4\u5982\u6309\u6587\u672c\u5185\u5bb9\u627e&#8221;\u5f00\u59cb\u8282\u70b9&#8221;\uff09<\/li>\n<li><strong>\u505a\u515c\u5e95\u68c0\u6d4b<\/strong>\uff1a\u6bcf\u6b21\u64cd\u4f5c\u524d\u5148\u9a8c\u8bc1\u76ee\u6807\u5143\u7d20\u662f\u5426\u5b58\u5728<\/li>\n<li><strong>\u5173\u6ce8\u7248\u672c\u66f4\u65b0<\/strong>\uff1a\u6263\u5b50\u66f4\u65b0\u540e\u53ca\u65f6\u9002\u914d<\/li>\n<\/ul>\n<h2>\u5546\u4e1a\u6a21\u5f0f<\/h2>\n<p>\u8fd9\u4e1c\u897f\u7684\u53d8\u73b0\u601d\u8def\u5f88\u6e05\u6670\uff1a<\/p>\n<p><strong>\u514d\u8d39\u7248<\/strong>\uff1a\u6bcf\u5929 3 \u6b21\u81ea\u52a8\u521b\u5efa\u5de5\u4f5c\u6d41\uff0c\u591f\u4e2a\u4eba\u7528\u6237\u7528\u4e86<\/p>\n<p><strong>\u4ed8\u8d39\u7248<\/strong>\uff1a9.9 \u5143\/\u6708\uff0c\u4e0d\u9650\u6b21\u6570\uff0c\u652f\u6301\u81ea\u5b9a\u4e49\u8282\u70b9\u6a21\u677f<\/p>\n<p>\u76ee\u6807\u7528\u6237\u5f88\u660e\u786e\uff1a\u4e0d\u4f1a\u5199\u4ee3\u7801\u4f46\u9700\u8981\u642d\u5de5\u4f5c\u6d41\u7684\u4eba\u2014\u2014\u8fd0\u8425\u3001\u4ea7\u54c1\u3001\u5c0f\u7ea2\u4e66\u535a\u4e3b\u3002\u8fd9\u6279\u4eba\u5bf9 9.9 \u5143\u7684\u63a5\u53d7\u5ea6\u5f88\u9ad8\u3002<\/p>\n<h2>\u98ce\u9669<\/h2>\n<p>\u6700\u5927\u7684\u98ce\u9669\u4e0d\u662f\u6280\u672f\uff0c\u800c\u662f<strong>\u6263\u5b50\u81ea\u5df1\u505a<\/strong>\u3002\u5b57\u8282\u7684\u4ea7\u54c1\u7ecf\u7406\u4e0d\u50bb\uff0c\u8fd9\u79cd\u9700\u6c42\u4ed6\u4eec\u80af\u5b9a\u770b\u5230\u4e86\u3002\u5982\u679c\u6263\u5b50\u5b98\u65b9\u51fa\u4e86&#8221;AI \u4e00\u952e\u521b\u5efa\u5de5\u4f5c\u6d41&#8221;\u7684\u529f\u80fd\uff0c\u63d2\u4ef6\u5c31\u6ca1\u6709\u5b58\u5728\u7684\u5fc5\u8981\u4e86\u3002<\/p>\n<p>\u4f46\u7a97\u53e3\u671f\u81f3\u5c11\u6709\u51e0\u4e2a\u6708\u3002\u5728\u8fd9\u4e4b\u524d\uff0c\u5148\u628a\u4ea7\u54c1\u505a\u51fa\u6765\u3001\u79ef\u7d2f\u7528\u6237\uff0c\u624d\u662f\u6b63\u4e8b\u3002<\/p>\n<p>\u6709\u5174\u8da3\u4e00\u8d77\u641e\u7684\u53ef\u4ee5\u8bc4\u8bba\u533a\u804a\uff0c\u8fd9\u4e2a\u9879\u76ee\u4e00\u4e2a\u4eba\u505a\u592a\u6162\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0a\u5468\u8ddf\u670b\u53cb\u804a\u5230\u4e00\u4e2a\u60f3\u6cd5\uff1a\u505a\u4e00\u4e2a Chrome \u63d2\u4ef6\uff0c\u8ba9\u7528\u6237\u5728 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[60,58,62,59,57,61],"class_list":["post-796","post","type-post","status-publish","format-standard","hentry","category-tech-news","tag-chrome","tag-coze","tag-rpa","tag-59","tag-57","tag-61"],"_links":{"self":[{"href":"https:\/\/blog.zwdblog.online\/index.php\/wp-json\/wp\/v2\/posts\/796","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.zwdblog.online\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.zwdblog.online\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.zwdblog.online\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.zwdblog.online\/index.php\/wp-json\/wp\/v2\/comments?post=796"}],"version-history":[{"count":0,"href":"https:\/\/blog.zwdblog.online\/index.php\/wp-json\/wp\/v2\/posts\/796\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.zwdblog.online\/index.php\/wp-json\/wp\/v2\/media?parent=796"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.zwdblog.online\/index.php\/wp-json\/wp\/v2\/categories?post=796"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.zwdblog.online\/index.php\/wp-json\/wp\/v2\/tags?post=796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}