44 Commits

Author SHA1 Message Date
Mayhem
79644546ce Only listen to 'IndexRefresh' events when browsing the index. 2013-11-02 19:21:04 +01:00
Mayhem
11c3b0018a Fix thread watcher/expansion/hiding buttons after an index refresh. 2013-11-02 19:21:03 +01:00
Mayhem
ef38269981 Initial work for index navigation improvements. 2013-11-02 19:21:02 +01:00
Mayhem
4ff5fd287a Update FontAwesome. 2013-10-23 21:13:10 +02:00
Mayhem
2aec18ab49 Return early. 2013-10-06 21:28:02 +02:00
Mayhem
10e93091d7 {Post,Thread}::callbacks => {Post,Thread}.callbacks 2013-10-02 11:38:15 +02:00
Mayhem
3a13d0429c Remove ThreadWatcher conversion from old format. 2013-09-19 15:02:43 +02:00
Mayhem
15309e7968 Tiny refactor in ThreadUpdater. 2013-09-06 02:43:29 +02:00
Mayhem
a1efe855e2 Make use of xhr.timeout. 2013-08-28 00:12:36 +02:00
Mayhem
5c36d646a5 Start desktop notification closing timeout only after they appeared. 2013-08-26 21:31:30 +02:00
Mayhem
6454090cfd Warn with a desktop notification when we're running low on cached captchas. Close #1253.
Also increase delay to close the notifications from 5 to 7 seconds. #1252
2013-08-21 16:24:48 +02:00
Mayhem
08ea3cf7d0 Count unread posts if desktop notifications are enabled.
Also fix missing Conf check, and return too early in counting replies to you.
Minor tweaks here and there.
2013-08-21 15:45:32 +02:00
Mayhem
606cbcc1c1 Shave a few lines. 2013-08-21 03:25:56 +02:00
Mayhem
7cd4b7cee0 Use FontAwesome to replace the thread watcher toggle icon. 2013-08-20 17:06:23 +02:00
Mayhem
8e98e030c2 document.hasFocus() doesn't always work as intended in Chrome stable.
See crbug.com/64846
2013-08-18 03:38:13 +02:00
Mayhem
a088db9ee2 Use document.hasFocus() instead. 2013-08-18 00:28:48 +02:00
Mayhem
346010e188 Show a desktop notification even if the tab is visible. 2013-08-18 00:20:07 +02:00
Mayhem
5742405f67 Add desktop notification permission granting setting and notice. 2013-08-17 22:37:30 +02:00
Mayhem
43fbf62da0 Add the 4chan X logo to desktop notifications. 2013-08-17 19:02:04 +02:00
Mayhem
e539c35a53 Show a desktop notification for 5 seconds when someone replies to you.
Close #971.
2013-08-17 18:50:20 +02:00
Mayhem
b9afef771d Rename the Notification class to Notice.
To avoid conflicts with window.Notification.
2013-08-17 15:46:21 +02:00
Mayhem
8ef04b655c Don't show (...) when updating watched threads status and there's nothing to fetch. 2013-08-13 15:07:25 +02:00
Mayhem
a92afa5679 Add fetching status at the top of the thread watcher. #99 2013-08-12 21:41:13 +02:00
Mayhem
a1d238b233 Finish Thread Watcher rewrite. #99 2013-08-12 19:21:16 +02:00
Mayhem
6261160891 Start the Thread Watcher rewrite. #99
Fix #1112.
2013-08-12 19:20:56 +02:00
Mayhem
e0cb19ac53 $.xhr will now deal with Last-Modified and If-Modified-Since headers itself. 2013-08-11 18:02:22 +02:00
Mayhem
bbe93eb475 Shave a line. 2013-08-07 15:24:21 +02:00
Mayhem
738a175f43 Avoid using {d.body,doc}.scroll{Top,Left}, use window.scroll[...] instead. 2013-08-06 21:11:03 +02:00
Mayhem
b83e536c86 Don't save the unread count if the thread is dead. 2013-08-01 20:41:23 +02:00
Mayhem
39aa9d3cb5 Merge pull request #1183 from MayhemYDG/opera
Drop Opera <15 support.
2013-07-09 01:56:58 -07:00
Mayhem
7d38f0502c More thoughtful unread-scroll code. 2013-07-08 23:54:44 +02:00
Mayhem
8560f204b2 Remove userjs support and Presto-related code.
Add `minimum_opera_version` in the manifest.
Up the min Chrome version for unprefixed MutationObserver support.
2013-07-08 19:09:23 +02:00
Mayhem
fa50087323 Never unread-scroll to OPs.
Also fix a dumb loop assignment.
2013-07-05 23:18:04 +02:00
Mayhem
0f742f0d0b Show "Dead" instead of the page number when the thread 404s. 2013-06-11 17:03:13 +02:00
Mayhem
448273441d Small refactor. 2013-05-31 22:19:53 +02:00
Mayhem
90e40e11e7 Fix #1131. 2013-05-31 21:20:16 +02:00
Mayhem
121bd1834c Add page number in Thread Stats. Close #832 2013-05-26 01:06:01 +02:00
Mayhem
388c8b9d1a Fix withCredentials on synchronous XHRs. 2013-05-20 02:46:34 +02:00
Mayhem
aace44479e Fix #1095. 2013-05-10 14:36:27 +02:00
Mayhem
7c274450ac More Unread scrolling fixes. 2013-05-06 18:38:15 +02:00
Mayhem
fc0890049d Unread scroll asap, waiting can create undesired scrolls. #1070 2013-05-04 20:42:26 +02:00
Nicolas Stepien
010618a6ef Move some html out the code. 2013-04-27 04:30:31 +02:00
Nicolas Stepien
f2a9ba5a0c Fix unread count not taking into account hidden posts on page load.
Fix unread freezing on page load.
2013-04-26 18:38:56 +02:00
Nicolas Stepien
a2e87f1200 Structure.
God damn War Thunder, download faster!
2013-04-26 17:40:51 +02:00