Twitter - add unread notifications count in the tab title

Adds unread notifications count in the tab title

Där är alla versioner av detta skript Visa endast de skript där koden är ändrad

  • v2018.2.27 2021-03-28
  • v2018.2.27 2021-03-28
  • v2018.2.27 2020-06-25 (all scripts) Added @supportURL pointing to the GitHub repo (thanks to Jason Barnabe for the suggestion)
  • v2018.2.27 2018-05-20 (All scripts) Rearranged the metadata block
  • v2018.2.27 2018-02-27 Changed the values values of a few @require keys(all for greasyfork.org) to point to non version specific URLs
  • v2017.07.13 2017-11-13
  • v2017.07.13 2017-11-12 Added '@licence MIT' (required by OUJS, in order to allow import and autoupdate of scripts from GitHub)
  • v2017.02.07 2017-02-07 Synced from GitHub - (Twitter - add unread notifications count in the tab title) Reset the counter variable
  • v2016.11.27 2016-11-27 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 2016-10-24 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 2016-10-22 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 2016-09-17
  • v2016.08.20 2016-09-17
  • v2016.08.20 2016-09-17 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 2016-08-19 Synced from GitHub - (Twitter - add unread notifications count in the tab title) Fixed the selector for when viewing the Notifications tab
  • v2016.08.16 2016-08-19 Synced from GitHub - Fixed whitespace
  • v2016.08.16 2016-08-17 Imported from URL
  • v2016.08.07 2016-08-13 Imported from URL
  • v2016.08.07 2016-08-12 Imported from URL
  • v2016.08.07 2016-08-07 Removed useless jQuery @require
  • v2016.08.07 2016-08-07 Removed useless commented out lines
  • v2016.08.07 2016-08-07 Fixed two selectors of observers, removed useless observer.disconnect()
  • v3 2016-08-06 No longer adding a 'unread' attribute, neither listening for clicks on the 'Notifications' button. Now using the arrive.js library
  • v2 2015-09-04
  • v2 2015-04-18 Now the counter no longer appears when there are no more unread notifications
  • v1 2015-04-11 I sImplified the script
  • v1 2015-04-10