展示HN:使用ChatGPT对任何页面进行摘要的书签小工具

1作者: shafkathullah28 天前原帖
我制作了一个小书签工具,可以在新标签页中打开 ChatGPT,并自动填充当前页面的摘要提示。<p>只需将以下内容拖到您的书签栏:<p>javascript:(function(){ const url = encodeURIComponent(window.location.href); window.open(`https://chatgpt.com/?q=summarize this page ${url}`, '_blank'); })();<p>在浏览文章或文档时使用它——点击一次,ChatGPT 就会为您提供摘要。非常方便,可以快速浏览内容!
查看原文
I made a tiny bookmarklet that opens ChatGPT in a new tab and auto-fills the prompt to summarize the current page you&#x27;re on.<p>Just drag this to your bookmarks bar:<p>javascript:(function(){ const url = encodeURIComponent(window.location.href); window.open(`<a href="https:&#x2F;&#x2F;chatgpt.com&#x2F;?q=summarize" rel="nofollow">https:&#x2F;&#x2F;chatgpt.com&#x2F;?q=summarize</a> this page ${url}`, &#x27;_blank&#x27;); })();<p>Use it while browsing articles or docs — click once and ChatGPT gives you a summary. Super handy for speeding through content!