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

Can this technique also be applied to JS? #9

Closed
ghost opened this issue Dec 9, 2020 · 3 comments
Closed

Can this technique also be applied to JS? #9

ghost opened this issue Dec 9, 2020 · 3 comments

Comments

@ghost
Copy link

ghost commented Dec 9, 2020

Ok, so this isn't actually an issue, per se, but discussions aren't enabled and I was curious. Can this technique be used to insert script tags into a README? I assume Github blocks these tags at the top level, but does that same behavior apply to foreignObject tags?

@lovetingyuan
Copy link

Of course you can not.

@papb
Copy link

papb commented Dec 10, 2020

I hope it is not possible. Otherwise that would be a major security issue.

@sindresorhus
Copy link
Owner

No, GitHub strips/blocks everything.

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

3 participants