Twitter - add unread notifications count in the tab title

Adds unread notifications count in the tab title

To są wersje tego skryptu, gdzie kod został zaktualizowany. Pokaż wszystkie wersje.

  • v2018.2.27 25-06-2020 (all scripts) Added @supportURL pointing to the GitHub repo (thanks to Jason Barnabe for the suggestion)
  • v2018.2.27 20-05-2018 (All scripts) Rearranged the metadata block
  • v2018.2.27 27-02-2018 Changed the values values of a few @require keys(all for greasyfork.org) to point to non version specific URLs
  • v2017.07.13 12-11-2017 Added '@licence MIT' (required by OUJS, in order to allow import and autoupdate of scripts from GitHub)
  • v2017.02.07 07-02-2017 Synced from GitHub - (Twitter - add unread notifications count in the tab title) Reset the counter variable
  • v2016.11.27 27-11-2016 Synced from GitHub - (Twitter - add unread notifications count in the tab title) Fix for when viewing profile pages, it would only display "Twitter" as title Also, removed two unused forEach
  • v2016.10.24 24-10-2016 Synced from GitHub - (Twitter - add unread notifications count in the tab title) Now there's no empty box in the place of the new notifications counter whenever you right/middle-click the Notifications link
  • v2016.10.22 22-10-2016 Synced from GitHub - (Twitter - add unread notifications count in the tab title) Now, when you rightclick or middle click the 'Notifications' button (in order to open the notifications in a new tab) the count in the tab title will be reset. Also fixed the regex that cleared the count in the tab title.
  • v2016.08.20 17-09-2016 Synced from GitHub - Converted all scripts encoding from UTF-8 back to UTF-8 BOM (i.e. with the same encoding that Greasemonkey installs them in)
  • v2016.08.20 19-08-2016 Synced from GitHub - (Twitter - add unread notifications count in the tab title) Fixed the selector for when viewing the Notifications tab
  • v2016.08.16 19-08-2016 Synced from GitHub - Fixed whitespace
  • v2016.08.16 17-08-2016 Imported from URL
  • v2016.08.07 13-08-2016 Imported from URL
  • v2016.08.07 12-08-2016 Imported from URL
  • v2016.08.07 07-08-2016 Removed useless jQuery @require
  • v2016.08.07 07-08-2016 Removed useless commented out lines
  • v2016.08.07 07-08-2016 Fixed two selectors of observers, removed useless observer.disconnect()
  • v3 06-08-2016 No longer adding a 'unread' attribute, neither listening for clicks on the 'Notifications' button. Now using the arrive.js library
  • v2 04-09-2015
  • v2 18-04-2015 Now the counter no longer appears when there are no more unread notifications
  • v1 11-04-2015 I sImplified the script
  • v1 10-04-2015