aquatix / digimarks

Simple bookmarking service
Apache License 2.0
20 stars 2 forks source link

Create UI overlay for bookmarklet #11

Open mingoes opened 7 years ago

mingoes commented 7 years ago

I think it will be cool to have a popup style bookmarklet with some javascript injected into the page instead of being redirected away from the page. The injected javascript can do the API calls

mnishig commented 4 years ago

Hello. you can popup by bookmarklet with window.open() method like following code

javascript:(function(){let%20u='https://digimarks.host/[yourket]';let%20d=window.open().document;d.location.href=u+'/add?url='+encodeURIComponent(location.href);})();