Using a theme component instead of an iframe to create a topic timer

Alright, the theme component has been released! Please let me know if you find any issues with it or have any ideas on how it could be improved.

Also, for anyone interested in solving the original question on how to disable iframe scrolling, simply add this code to the </head> tab of a theme of your choice:

<script type="text/discourse-plugin" version="0.8.18">
   api.decorateCooked($elem => $elem.children('iframe').attr("scrolling", "no"));
</script> 

(Shout-out to @vinothkannans for bringing to light the usefulness of decorateCooked() :grinning:)

3 Likes