wakatime/browser-wakatime

Support for Canva

alanhamlett opened this issue · 0 comments

Child of #47.

When the domain is canva.com, we can detect the project based on the DOM. For example, if we find this in the DOM:

<div class="rF765A T9ZGtQ" lang="de-DE">
  <input tabindex="-1" class="PNhEbg fFOiLQ j_as1g Yp81Yw" maxlength="255" aria-label="Design title" type="text" autocomplete="off" value="Wakatime Version ES">
  <div class="PNhEbg fFOiLQ j_as1g Yp81Yw noenSA">Wakatime Version ES</div>
</div>

Then we should detect...

Project: Wakatime Version ES
Language: Canva Design
Editor: Canva
Category: Designing