I’ve updated this component not use <script type='text/discourse-plugin'>
anymore.
I’ve also added a setting allowed_in_urls
to enable the confetti on certain paths within the forum (URL arguments are stripped when checking).
For example, the settings I have on Theme Creator look like this:
This means that confetti is enabled on:
- All topics in the General category
- The This is a new topic with 0 replies - discourse - Theme Creator topic
- The homepage
- The ‘Top’ page