sindresorhus/refined-github

Do you want to work on this issue?

You can request for a bounty in order to promote it!

Notify the user of unfinished comments in a tab #3680

fregante posted onGitHub

How many times do you start writing a comment in a tab, the scroll up, change tab, and forget about it?

We could display this in the title/tab:

<img width="291" alt="" src="https://user-images.githubusercontent.com/1402241/96896266-eeba6980-1452-11eb-91ed-62a29b3c4a84.png">


If anyone wants to pick this up, it should be a relatively easy feature:

  • on pagehide event
    1. find textareas, filter out hidden ones
    2. check the content
    3. cache original title
    4. update title
  • on pageshow event: if title was changed, restore it
posted by fregante over 4 years ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests