Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create UI overlay for bookmarklet #11

Open
mingoes opened this issue Aug 14, 2017 · 1 comment
Open

Create UI overlay for bookmarklet #11

mingoes opened this issue Aug 14, 2017 · 1 comment

Comments

@mingoes
Copy link

mingoes commented Aug 14, 2017

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
Copy link
Contributor

mnishig commented Jun 5, 2020

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);})();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants