Related. This is the bookmark I use to summarize websites using ChatGPT: javascript:window.open('https://chatgpt.com/?q=summarize this page in 100 words: '+encodeURIComponent(window.location.href),'_blank'); Basically it opens a new tab on chatgpt.com with the prompt: "summarize this page in 100 words: URL" Tested on Firefox and Chrome. Some websites block ChatGPT and can't be summarized this way. Works in incognito/…
Here's a version of that which should work for any page, whether or not they allow ChatGPT URL access: javascript:window.open('https://chatgpt.com/?q=summarize this page in 100 words: '+encodeURIComponent(document.body.innerText),'_blank'); I swapped window.location.href for document.body.innerText
I just wonder if browsers will limit the amount of characters in URLs.
If memory serves me, there was a limit. But it might be high enough to work fro most pages.