Skip to content

Instantly share code, notes, and snippets.

@jk
Created February 12, 2023 12:23
Show Gist options
  • Select an option

  • Save jk/f40c119fb548eed622a2d344a1c70b7b to your computer and use it in GitHub Desktop.

Select an option

Save jk/f40c119fb548eed622a2d344a1c70b7b to your computer and use it in GitHub Desktop.
Kagi Universal Summarizer Bookmarklet for every Browser that supports it
javascript:q=location.href;if(document.getSelection){d=document.getSelection();}else{d='';};p=document.title;void(open('https://labs.kagi.com/ai/sum?url='+encodeURIComponent(q),'Kagi Universal Summarizer','toolbar=no,width=710,height=685'));
@martinxyz

Copy link
Copy Markdown

Thanks, this helped me getting started.
But the URL has changed. Here is what I ended up with:

javascript:void(open('https://kagi.com/summarizer/index.html?url='+encodeURIComponent(location.href)+'#url','Kagi%20Universal%20Summarizer','toolbar=no,width=710,height=685'));

@shaunkoh

Copy link
Copy Markdown

@martinxyz works for me. Thanks for the fix!

@Qhilm

Qhilm commented Jun 3, 2026

Copy link
Copy Markdown

I can't make it work with the token of the session link. Anyone figured it out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment