51 Commits

Author SHA1 Message Date
Mayhem
c7b7795261 Start supporting new semantics. 2014-04-12 18:01:03 +02:00
Mayhem
5aa0c3f36d Oops, video.load() actually sets the autoplaying flag to true. 2014-04-09 14:40:55 +02:00
Mayhem
9bb234ab5e Better handling of videos inside of clones. 2014-04-09 14:28:21 +02:00
Mayhem
221973c786 Better asap test for image hover. 2014-04-09 10:34:42 +02:00
Mayhem
662cff6396 Don't keep running waitExpand's asap func when the image error'd. 2014-04-09 10:20:32 +02:00
Mayhem
06e6f84867 Handle webm playback errors with image expansion. 2014-04-09 10:04:51 +02:00
Mayhem
7c97b11601 Refactor ImageExpand.waitExpand():
- wait for the first frame to be loaded instead of the metadata before expanding.
- to my understanding, browsers will not always start the download immediately
  if the video isn't on autoplay, force it with load().
2014-04-08 13:53:21 +02:00
Mayhem
445edcf867 After contracting, isExpanding should be falsy. 2014-04-07 12:05:44 +02:00
Mayhem
de112fcfa9 Fix EAI loading files in hidden posts. Fix #1542 2014-04-07 11:22:17 +02:00
Mayhem
78c86945f9 Automatically play/pause videos in clones too. 2014-04-07 11:11:39 +02:00
Mayhem
fba314e05a Pause videos when they are not visible. #1538 2014-04-07 11:06:34 +02:00
Mayhem
7f1abad58b Don't add the 'expanding' class when unecessary. 2014-04-07 10:02:15 +02:00
Mayhem
40d8d06266 Wait for the video metadata to be loaded before completing the expansion. 2014-04-07 09:45:33 +02:00
Mayhem
480ffba15c Keep playing .webms in clones. 2014-04-07 09:14:54 +02:00
Mayhem
62321ecb18 Fix #1537 2014-04-05 13:53:52 +02:00
Mayhem
0bc93400c1 .webm #1533 2014-04-05 00:32:44 +02:00
Mayhem
498dfda2ef Update code related to hidden threads. 2014-02-22 00:17:48 +01:00
Mayhem
c685b0a5d6 Fix ImageExpand/Hover's error handling xhring the wrong URL. 2014-02-11 09:38:14 +01:00
Mayhem
bbf7abd6fa Close #1433. 2014-02-08 18:19:37 +01:00
Mayhem
a234bdb2a5 Merge pull request #1412 from MayhemYDG/catalog
Drop support for the inline catalog
2014-02-05 18:03:40 +01:00
Mayhem
0675146d22 Add pin/hide/show thread menu entries for the catalog. 2014-02-04 13:51:21 +01:00
Mayhem
d6030f7df0 Set the catalog thumbnail via background image, save one element.
Also tiny fixes here and there.
2014-02-03 13:51:25 +01:00
Mayhem
1aa467b051 Remove all inline catalog-related code. 2014-01-29 16:25:52 +01:00
Mayhem
44e28961fd Add Auto-GIF support in the catalog. 2014-01-29 15:22:46 +01:00
Mayhem
6dc91cfbdc Add Image Hover support in the catalog.
Close #836
2014-01-29 15:01:29 +01:00
ParrotParrot
0aaa9af8cc changed to lowercase 2014-01-25 20:35:12 +01:00
ParrotParrot
dbd4de88b1 %NAME is indeed better 2014-01-25 20:31:27 +01:00
ParrotParrot
7a2faf861e Added %FNAME case to link.replace switch 2014-01-25 20:10:40 +01:00
Mayhem
1eaf43e39a Fetch the image's HEAD status to see if it's still available or not.
Chrome bypasses the lack of CORS because we've allowed `i.4cdn.org` in the manifest.
2014-01-22 16:52:46 +01:00
Mayhem
710655f13e Use xhr.responseType = 'json'. 2014-01-21 14:46:26 +01:00
Mayhem
3efffe8a6e Fix 4chan X for markup change. 2013-12-07 00:03:55 +01:00
Mayhem
985afb2a1a Support 4cdn. 2013-11-21 23:11:02 +01:00
Mayhem
6975a766b9 Update font-awesome. 2013-11-07 22:34:41 +01:00
Mayhem
81a2b096a1 Introduce Header.{scrollToIfNeeded,getTopOf,getBottomOf}() and use them.
4chan X - now with proper bottom header support.
2013-11-03 01:27:23 +01:00
Mayhem
c2984275e5 Add index refresh shortcut in the header bar.
Also fix lazy/lame implementation of Header.addShortcut()
2013-11-02 19:21:04 +01:00
Mayhem
4ff5fd287a Update FontAwesome. 2013-10-23 21:13:10 +02:00
Mayhem
10e93091d7 {Post,Thread}::callbacks => {Post,Thread}.callbacks 2013-10-02 11:38:15 +02:00
Mayhem
455778f865 Fix image contraction not always moving us back to the post. 2013-08-28 20:32:58 +02:00
Mayhem
dd8748fbfb Fix #1243. 2013-08-18 00:15:50 +02:00
Mayhem
030b1278bc Use Font Awesome to replace "QR" end "EAI".
Hopefully this'll make more sense for some users.
2013-08-16 22:43:02 +02:00
Mayhem
f1cf1addfe Move the header menu button into the header shortcuts. 2013-08-13 12:56:21 +02:00
Mayhem
6261160891 Start the Thread Watcher rewrite. #99
Fix #1112.
2013-08-12 19:20:56 +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
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
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
2a99db7cdd src/Miscellaneous/Sauce.coffee -> src/Images/Sauce.coffee 2013-07-02 18:23:12 +02:00
Mayhem
b5caa77df8 Use vh for image expansion's "Fit height" on Chrome and Firefox.
Should give much better performance when resizing for example.
2013-05-21 21:08:22 +02:00
Mayhem
538e117746 Add archive selection. 2013-05-06 06:57:29 +02:00