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

Minor issues #5

Open
stegers opened this issue Apr 20, 2023 · 3 comments
Open

Minor issues #5

stegers opened this issue Apr 20, 2023 · 3 comments

Comments

@stegers
Copy link

stegers commented Apr 20, 2023

Great work!

  • message box is too small to show all the data, any chance to enlarge it?
  • you already mentioned author create date
@eenblam
Copy link
Owner

eenblam commented Apr 20, 2023

@stegers thanks for the feedback!

Are you using Chrome? I normally use Firefox, so I just realized that Chrome's alert() popup doesn't support copy and paste. (The alert() popup does show all the data, but I have to scroll. Regardless, it's kinda useless if I can't copy the long URL.)

In Firefox, the box grows to fit all content, and I can copy all the text to paste elsewhere. To make this work in Chrome, I might have to rewrite this as a browser extension. Is that something you'd consider installing if it was available? The source code of the extension would continue to be publicly available.

@stegers
Copy link
Author

stegers commented Apr 21, 2023

Yes, this was Chrome, Firefox looks better indeed.

I tried to find a way around it. Looks like this code is working to automatically copy the information to the clipboard, what do you think?

stegers@58822d6

My own bookmarklet uses this code which also works:
tempInput.value =${naturalLanguageDateTime} \n${window.location.href}; document.body.appendChild(tempInput); tempInput.select(); document.execCommand('copy'); document.body.removeChild(tempInput);;

@eenblam
Copy link
Owner

eenblam commented Apr 27, 2023

@stegers I rewrote this as a tiny Chrome extension last week, but just now pushed it up. Feel free to have a look here if you're curious!

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