# Minor Helpful Addition - a + button for subtasks

**URL:** <https://kanboard.discourse.group/t/minor-helpful-addition-a-button-for-subtasks/1182>\
**Category:** Enhancements\
**Created:** [May 10, 2020, 2:46am UTC](https://kanboard.discourse.group/t/minor-helpful-addition-a-button-for-subtasks/1182 "2020-05-10T02:46:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![labmankanban](https://avatars.discourse-cdn.com/v4/letter/l/838e76/32.png) [@labmankanban](https://kanboard.discourse.group/u/labmankanban)\
**Post date:** [May 10, 2020, 2:46am UTC](https://kanboard.discourse.group/t/minor-helpful-addition-a-button-for-subtasks/1182/1 "2020-05-10T02:46:15Z")

</div>

When I was using Kanban in Firefox, I used GreaseMonkey to add this little script:

```auto
// ==UserScript==
// @name Kanboard Customisation
// @version 1
// @grant none
// @include /^https://your-kanboard-url-here-required-for-greasemonkey-only/.*$/
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js 
// ==/UserScript==

$(document).ready(function (){
  $('summary:contains("Sub-Tasks")').append(`
	<a class="js-modal-medium" href="${$('a:contains("Add a sub-task")').attr('href')}"><i class="fa fa-plus fa-fw js-modal-medium"></i></a>
`)
})

```

Now that I run Kanban in a standalone instance with [Nativefier](https://github.com/jiahaog/nativefier), I included it in the scripts to inject, and the effect is the same.

I felt I needed it to (for me) remove the disconnect in the flow of the task-edit page in relation to adding subtasks. My eyes are on the subtasks area… now where is that `Add Subtask` button on the left (I can never find it when I want it).

This little script places a nice + icon to the right of the Subtasks expandable list, making dividing your tasks into subtasks fluid and unbroken.

I leave it here for you to absorb into the most excellent Kanboard, if you so wish to. Also, others may feel free to use it as a standalone script (as I have).

N.B. The mechanisms in the script only work with the English language page, but there’s probably a better way to do it than screen-scrape.
