912 Commits

Author SHA1 Message Date
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
Mayhem
2939a81a21 Fix #1177 2013-07-02 10:06:17 +02:00
Mayhem
125e1bdee7 504s are not legit pages. 2013-07-01 22:07:03 +02:00
Mayhem
573bd6f294 Fix #1146. 2013-06-29 18:04:23 +02:00
Mayhem
badc11d4c0 The 4chanMainInit event is now dispatched in the catalog too. 2013-06-29 16:34:54 +02:00
Mayhem
d1d2149258 Simplify #377 fix. 2013-06-27 01:27:31 +02:00
Mayhem
f0504247c5 Truly fix #377. 2013-06-26 21:06:47 +02:00
Mayhem
fefc928385 Fix censoring of stack traces not actually being taken into account. 2013-06-26 11:15:03 +02:00
Mayhem
0f494812a3 Fix Post::parseFile, one last time 2013-06-26 11:08:59 +02:00
Mayhem
539ff3bcf4 Fix Post::parseFile again 2013-06-26 11:01:38 +02:00
Mayhem
20f6aba5f2 Fix Post::parseFile 2013-06-26 10:04:20 +02:00
Mayhem
827bdf9f25 Top-class Opera moderators. 2013-06-26 01:50:06 +02:00
Mayhem
03e3dc5ceb Post::parseFile 2013-06-26 01:10:42 +02:00
Mayhem
6213853f67 Always give integers for thread IDs. 2013-06-25 20:50:11 +02:00
Mayhem
51358e328a Shave a couple of lines.
I probably did this for perf reasons, but it most likely doesn't make much of a difference.
2013-06-25 20:49:57 +02:00
Mayhem
90f75de0e2 Simplify Menu code. 2013-06-25 16:42:03 +02:00
Mayhem
626c140113 Typo 2013-06-25 15:55:56 +03:00
Mayhem
a7346b6103 Fix #377 with a workaround. 2013-06-24 22:33:47 +02:00
Mayhem
80afed86b6 Fix missing ), 2013-06-24 19:51:47 +02:00
Mayhem
3269103100 Silghtly faster Post::parseQuotes by not checking if in .capcodeReplies in replies. 2013-06-24 19:41:46 +02:00
Mayhem
46b770c658 Remove the full path to the script in Firefox stack traces.
Close #1143.
2013-06-22 23:21:52 +02:00