Was trying to put in a Bookmarklet in a Github README.md. But, the following markdown code fails:
[Bookmarklet](javascript:alert('not-working'))
From the compiled output it seems javascript in the link seems to be stripped off. Can anyone confirm whether this is a policy for Github pages? Or am I missing something?
Embedding JavaScript is disabled to prevent Cross-Site Scripting.
You can set up custom pages:
https://help.github.com/articles/creating-project-pages-manually
Then you can navigate to them via:
http://<username>.github.io/<project>/<filepath>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With