admin管理员组文章数量:1305280
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 piled 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?
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 piled 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?
Share Improve this question asked Oct 11, 2013 at 9:19 Jikku JoseJikku Jose 18.8k11 gold badges43 silver badges63 bronze badges2 Answers
Reset to default 9Embedding JavaScript is disabled to prevent Cross-Site Scripting.
You can set up custom pages:
https://help.github./articles/creating-project-pages-manually
Then you can navigate to them via:
http://<username>.github.io/<project>/<filepath>
本文标签: javascriptEmbed Bookmarklet in GitHub READMEmdStack Overflow
版权声明:本文标题:javascript - Embed Bookmarklet in GitHub README.md - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741709460a2393755.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论