646 Commits

Author SHA1 Message Date
Mayhem
0ee17f32ce Use classes to position menus and sub-menus. 2013-08-13 13:53:15 +02:00
Mayhem
f1cf1addfe Move the header menu button into the header shortcuts. 2013-08-13 12:56:21 +02:00
Mayhem
fb28d20870 Shave a line by removing an useless check. 2013-08-13 03:34:09 +02:00
Mayhem
87b8a3c951 Do not warn Firefox users about missing flexbox support anymore.
4chan X assumes Fx22+.
2013-08-13 03:10:01 +02:00
Mayhem
168944277c 4chan X should attempt to handle this Chrome db corruption bug.
This'll warn users about this bug and show them how to fix it.
2013-08-13 03:07:24 +02:00
Mayhem
a92afa5679 Add fetching status at the top of the thread watcher. #99 2013-08-12 21:41:13 +02:00
Mayhem
30d0cc8718 Typo. 2013-08-12 19:27:46 +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
88b6f97fce Drop archives.json update period from 4 to 2 days. 2013-08-12 17:30:00 +02:00
Mayhem
6d36518ea9 Remove the Check for Updates setting.
It's not useful enough to justify keeping it.
2013-08-12 17:26:41 +02:00
Mayhem
35cfa595bf Shave a line. 2013-08-11 23:41:49 +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
b2ec75510b I couldn't find the exact cause, I suspect people are just adblocking random elements and expect not to break things. 2013-08-11 17:10:07 +02:00
Mayhem
ffd98de110 Polyfill canvas toBlob(). 2013-08-11 13:09:25 +02:00
Mayhem
fbe724a174 Fix #1162. 2013-08-10 23:50:04 +02:00
Mayhem
4037133eb5 Remove useless comment. 2013-08-10 19:49:25 +02:00
Mayhem
e890680dc4 Fix missing @nodes.. 2013-08-10 15:52:24 +02:00
Mayhem
1e439167d7 Shorter QuoteYou code.
Not sure why I had written it that way.
2013-08-10 15:46:48 +02:00
Mayhem
4b332e19e0 Fix #1196, #1222. 2013-08-10 15:26:34 +02:00
Mayhem
a12d50981b Shorter dice format. 2013-08-10 15:05:44 +02:00
Mayhem
6f6c1be3b1 Fix #1219. 2013-08-09 18:44:22 +02:00
Mayhem
0b55e34361 Allow fetching posts for archives that require credentials. 2013-08-09 12:41:59 +02:00
Mayhem
2cbf3d909d Tweak dice code further. #1218
Also use `data` instead of `textContent` as it performs faster.
2013-08-08 17:28:35 +02:00
Mayhem
8c95fe1995 Tweak Dice code. #1218 2013-08-08 11:25:03 +02:00
carboncopy
bcbae6c84f display rolled dice while on /tg/ 2013-08-07 15:53:15 -05:00
Mayhem
773f2cfe0f Use xhr.responseType = 'document'. 2013-08-07 20:04:47 +02:00
Mayhem
39f30c1d0e Slightly simplify $.ajax. 2013-08-07 19:55:25 +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
be7a4052fd Close #1106 2013-08-06 16:28:54 +02:00
Mayhem
63cd0aa164 ExpandThread tweaking.
Also fix code trying to $.off `ExpandThread.cb.toggle`.
2013-08-06 15:27:16 +02:00
Mayhem
b36cf54d83 Make use of a few CoffeeScript filters. 2013-08-05 23:30:39 +02:00
Mayhem
6cf7373b93 Fix #1162. 2013-08-05 21:19:20 +02:00
Mayhem
03a8435a94 Fix duplicate data property in object literal not allowed in strict mode. 2013-08-01 22:10:51 +02:00
Mayhem
e5db696b87 Remove the .webkit class. Use .blink instead. 2013-08-01 21:51:26 +02:00
Mayhem
e07346a35f 'use strict'; 2013-08-01 21:42:53 +02:00
Mayhem
b83e536c86 Don't save the unread count if the thread is dead. 2013-08-01 20:41:23 +02:00
Mayhem
6ee8dc83a7 Fix #1210
We were inserting the same Post twice in QR.posts,
once in the constructor, and once in the splice.
2013-07-30 15:13:33 +02:00
Mayhem
5cd7e0c5e0 Whitespace fixes. 2013-07-28 19:53:41 +02:00
Mayhem
d0dac27ca7 Factor Post::parseQuote out of Post::parseQuotes 2013-07-22 15:37:25 +02:00
Mayhem
a344ef4afa Faster Post::parseQuotes
What changed is 4~6 times faster.
2013-07-22 15:31:23 +02:00
Mayhem
b628cd7eba Faster Post::parseQuotes
What changed is about 3~4 times faster now.
Resulting code is also less complex.
2013-07-22 15:06:44 +02:00
Mayhem
d583c74049 Add the error name and error message in Firefox error reports.
Chrome gives the error name and error message in the stack trace already.

Also, no need to check `if stack` since we already filter them.
2013-07-22 11:48:20 +02:00
Mayhem
8a9df9d15a Tiny optimization to avoid calling QR.status() multiple times when closing the QR. 2013-07-20 18:19:51 +02:00
Mayhem
dc8551bcf1 Fix #1194. 2013-07-20 18:08:53 +02:00
Mayhem
56d44bc310 Fix #1189. 2013-07-20 13:23:59 +02:00
Mayhem
6c87f852be Add comment about 4chan's issue concerning deadlinks inside code tags. 2013-07-19 15:45:04 +02:00
Mayhem
d1f3aa78b8 instanceof Event works fine now in GM 2013-07-15 11:47:10 +02:00
Mayhem
1640ab5109 No need to allocate data to see if it's truthy in Post::parseComment. 2013-07-14 23:13:40 +02:00