732 Commits

Author SHA1 Message Date
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
Mayhem
33d3518e76 "id" -> "ID" in dataset suffixes. 2013-07-14 19:03:22 +02:00
Mayhem
ddbec61e1b Use dataset setters instead of setAttribute. 2013-07-14 18:51:02 +02:00
Mayhem
a501bd70af Fix #1184. 2013-07-09 21:35:33 +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
d93a4ebf4b Shave two lines in Sauce.coffee. 2013-07-08 19:10:58 +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
e16fefb31f Firefox has stack-less errors.
Filter those errors out, and when possible don't send anything.
2013-07-07 21:45:30 +02:00
Mayhem
fa50087323 Never unread-scroll to OPs.
Also fix a dumb loop assignment.
2013-07-05 23:18:04 +02:00
Mayhem
48a7837338 Fix #1179. 2013-07-02 21:23:49 +02:00
Mayhem
8854f9a06f Fix flag building. 2013-07-02 18:50:46 +02:00
Mayhem
2a99db7cdd src/Miscellaneous/Sauce.coffee -> src/Images/Sauce.coffee 2013-07-02 18:23:12 +02:00
Mayhem
b3d38cbabd contextFromLink -> contextFromNode 2013-07-02 18:21:05 +02:00
Mayhem
97087af42f Simpler QR quoting code. 2013-07-02 15:19:15 +02:00