# Topic Stopwatch

**URL:** <https://meta.discourse.org/t/topic-stopwatch/83939>\
**Category:** Theme component\
**Created:** [March 27, 2018, 7:32am UTC](https://meta.discourse.org/t/topic-stopwatch/83939 "2018-03-27T07:32:25Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)\
**Post date:** [March 27, 2018, 7:32am UTC](https://meta.discourse.org/t/topic-stopwatch/83939/1 "2018-03-27T07:32:26Z")

</div>

Installing this theme component will add a stopwatch to the top of a topic. A tag specified in the theme settings will establish which topics the stopwatch will appear.

#### Example:

 ![stopwatch-ex1](https://global.discourse-cdn.com/meta/original/3X/8/9/89ce6febdbb4aeecbe67ee972c23afe45c3d87f0.png)

## Settings

There are three settings. You must add a single tag name to associate with a stopwatch. In this example I use a tag called “speed-read.”

 ![ts-settings](https://global.discourse-cdn.com/meta/original/3X/d/d/ddb0e4a979c3e2f39b32b3f18e9cd50f3b26204e.png)

## Installation

**IMPORTANT: You must be running [Discourse Version 2.0.0.beta4](https://meta.discourse.org/t/discourse-2-0-0-beta4-release-notes/82446) or later for this theme component to work.**

> [@Installing a theme or theme component](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682?source_topic_id=77929):
>
> bookmark This is a guide for installing and managing themes and theme components in Discourse. person_raising_hand Required user level: Administrator Installing and customizing themes can significantly improve the look and feel of your Discourse site. You can easily import and manage themes and their components through the Discourse admin panel. This guide covers: Importing new themes and theme components Adding theme components to a theme Managing automatic updates Additional resourc…

**Import Links:**

> `https://github.com/tshenry/discourse-topic-stopwatch.git`

## About

This theme component was inspired by the discussion found here:

> [@IFrame CSS Code - Disable Scrolling Bar](https://meta.discourse.org/t/iframe-css-code-disable-scrolling-bar/83254):
>
> Hi All, I am trying to removed the scrolling bar feature in an iframe. I am using the following code, (overflow and scrolling commands) but it does not seem to be working - the iframe is still scrolling when the mouse hovers over it. [https://www.fellowshipforums.com/t/question-1/277](https://www.fellowshipforums.com/t/question-1/277) \<iframe style= "overflow:hidden" scrolling="no" src="https://ruwix.com/widget/stopwatch-gen/"\>\</iframe\> I have also tried adding this to the CSS customization page: iframe { overflow: hidden; } Any help woul…

The usefulness of this theme component is very niche I imagine, but hopefully it will end up helping a few people either for what it is, or as example code.

Some ideas where it could be applied in a forum:

- Some type of quiz/test practice
- Speed-reading exercises
- Public speaking practice

As of now, it does not save the time after leaving the topic.

**Repo:**

> [GitHub - tshenry/discourse-topic-stopwatch](https://github.com/tshenry/discourse-topic-stopwatch)

  
Please feel free to post if there are any questions, problems, or suggestions!

---

_[View the full topic](https://meta.discourse.org/t/topic-stopwatch/83939)._
