I don’t understand this request. You want average users to be able to inject arbitrary Javascript in your Discourse, by simply posting it in a reply? This would be a security nightmare.
codinghorror
(Jeff Atwood)
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Whitelist all the code inside of a div tag? | 9 | 2670 | October 12, 2016 | |
| Allowing additional HTML elements | 1 | 610 | September 14, 2021 | |
| Whitelisting HTML tags / attributes | 2 | 1988 | August 3, 2020 | |
| Post HTML Element Class Being Removed | 9 | 2748 | November 3, 2018 | |
| What are the different ways to customize content inside a post (custom attributes and such) | 8 | 2823 | May 17, 2022 |