SMRY icon indicating copy to clipboard operation
SMRY copied to clipboard

[feature] Add bookmarklet

Open dadatuputi opened this issue 9 months ago • 3 comments

A bookmarklet is a simple javascript anchor element that users can drag to the bookmark that will run on the page when clicked.

Use case:

  1. User drags the anchor "Summarize with smry.ai" to their bookmark bar
  2. User goes to a website they want to use with smry.ai
  3. User clicks the bookmarklet, which loads the smry.ai url for the website

It's really basic javascript:

javascript:window.location.href=`https://smry.ai/${window.location.href}`;

You can test it out on this fiddle: https://jsfiddle.net/zLdgbvcm/

I'm happy to submit as a PR if you want.

dadatuputi avatar Mar 15 '25 21:03 dadatuputi

Please submit as a PR!

mrmps avatar Apr 02 '25 18:04 mrmps

Bookmarklets won't work on mobile? Thanks!

mcdoubleyou avatar Apr 06 '25 21:04 mcdoubleyou

Bookmarklets won't work on mobile? Thanks!

I haven't tested it, but this shows you how to use it on mobile. https://www.howtogeek.com/189358/beginner-geek-how-to-use-bookmarklets-on-any-device/

dadatuputi avatar Apr 07 '25 09:04 dadatuputi