-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Describe the document.navigator
security caveats in the docs
#56
Comments
Now that's weird! I'll take a look at it during this week |
Although, take a look at this: https://stackoverflow.com/a/51823007/4735420 Can it be that you just open the HTML file in the browser without actually serving it? If so, this will not work. Try using |
I was using |
Can you provide an example of your setup? Here's my attempt at a MRE: https://stackblitz.com/edit/vitejs-vite-37ttzf?file=index.html,package.json&terminal=dev and the button works here. Again, if you do not have HTTPS on your website or open it by double-clicking the HTML file (that is, the protocol is This works for me when developing Shareon. If you clone the repo and run |
thanks for looking into the issue. I was running the site from a local virtual host without You may add this to the doc. |
Glad I was able to resolve this! I'll reopen this issue until I've appended to the documentation |
copy-url
not workingdocument.navigator
security caveats in the docs
Thanks for building this awesome tool.
I was trying to use it in one of my projects, I am using
Vite
to build the project.I added the CSS and used the following code for JS.
After that all the buttons worked, but
copy-url
throws an error when I click on that button. Even after initialization, it shows a warningReferenceError: temp0 is not defined
. The errorI am testing from Firefox, I would like to mention that your demo at shareon.js.org/ works fine from the same browser.
Can you please help me to find and fix the issue?
The text was updated successfully, but these errors were encountered: