93 Commits

Author SHA1 Message Date
ccd0
eee835fec7 fix link deactivation; should not have been made conditional 2014-07-26 23:19:42 -07:00
ccd0
b224d20896 don't show controls on videos until the mouse is moved over them 2014-07-26 23:15:16 -07:00
ccd0
a8f4f419dd refactoring in ImageExpand 2014-07-26 22:37:19 -07:00
ccd0
c7227575cd set (expanded) clone to play if original was playing 2014-07-26 20:26:36 -07:00
ccd0
3aa96b32f0 improve error handling 2014-07-26 19:00:57 -07:00
ccd0
1d0964131a changes, fixes to off-screen pausing for this fork 2014-07-26 14:03:54 -07:00
Mayhem
9601b84bb7 Pause videos when they are not visible. MayhemYDG/#1538
Conflicts:
	src/Images/ImageExpand.coffee
2014-07-26 12:53:04 -07:00
ccd0
43b12523d4 eliminate Video.configure 2014-07-26 11:57:56 -07:00
ccd0
a995d5ecb1 don't add error handler multiple times 2014-07-26 11:44:56 -07:00
ccd0
4821822562 consolidate error handling code 2014-07-22 01:58:40 -07:00
Mayhem
aca6f22608 Handle webm playback errors with image expansion.
Conflicts:
	CHANGELOG.md
	src/Images/ImageExpand.coffee
2014-07-21 22:48:00 -07:00
ccd0
e49f324465 fixes to cleanup 2014-07-21 22:08:19 -07:00
Zixaphir
b0941f4ae4 cleanup?
Conflicts:
	LICENSE
	builds/4chan-X-beta.user.js
	builds/4chan-X.user.js
	src/Images/ImageExpand.coffee
	src/Images/ImageHover.coffee
2014-07-21 22:00:34 -07:00
Zixaphir
4ce8589e44 Unnecessary space 2014-07-21 21:41:40 -07:00
Zixaphir
733a1ffa14 nitpicking
Conflicts:
    builds/4chan-X-beta.user.js
    builds/4chan-X.user.js
    src/Images/ImageExpand.coffee
2014-07-21 21:39:45 -07:00
Zixaphir
cbbaee501a Hah, I can't believe that worked. 2014-07-21 21:30:10 -07:00
ccd0
49122baa4a don't remove encryption without asking 2014-07-13 13:03:29 -07:00
ccd0
cdb83f744a cleanup menu code 2014-06-18 22:39:19 -07:00
ccd0
efc852464f don't use event for adding to menu internally 2014-06-17 21:12:07 -07:00
ccd0
cae730dd79 rewrite some code to make make safety more obvious 2014-05-15 02:25:45 -07:00
ccd0
a452b732fd change res -> thread in JSON API URLs 2014-04-13 01:46:18 -07:00
ccd0
9acdd4bd85 tolerate new image links 2014-04-12 22:14:35 -07:00
ccd0
ff057d4f29 configure videos opened in new tab 2014-04-10 01:33:11 -07:00
ccd0
be50e4b1f4 add 'Expand videos' setting 2014-04-07 21:17:19 -07:00
ccd0
f490aab2ab need to change it here too 2014-04-07 21:05:38 -07:00
ccd0
f64fa9e08a disable autoplay when expanding all images 2014-04-07 20:52:36 -07:00
ccd0
bf09a5d008 play clone if original is playing 2014-04-07 20:27:42 -07:00
ccd0
fe1b68a635 change UI for no autoplay, no controls 2014-04-07 18:23:33 -07:00
ccd0
1ef501fc91 set up clones of videos properly 2014-04-07 17:38:00 -07:00
ccd0
ddf202397c Allow drag left even when controls are off
Will be helpful if someone activates controls by right-clicking.
2014-04-06 21:54:20 -07:00
ccd0
98514dd986 this should get width fitting working again
hopefully it doesn't break anything else
2014-04-06 21:38:44 -07:00
ccd0
5361e39337 fix here too 2014-04-06 19:58:42 -07:00
ccd0
5f95bf3e3c using el.videoHeight here does help
The whole thing appears to be a hack, though;
we should really be using the image dimensions
from the file info.
2014-04-06 19:17:58 -07:00
ccd0
81f1dbf0fb work around FF forever-loading bug, other tweaks
Conflicts:
	CHANGELOG.md
	builds/4chan-X.user.js
	builds/crx/script.js
2014-04-06 16:09:09 -07:00
ccd0
49d76b4177 fix video controls 2014-04-06 16:07:18 -07:00
ccd0
52949b545e fix hover/expand so it works when switching between catalog/paged modes
Conflicts:
	builds/4chan-X.user.js
	builds/crx/script.js
2014-04-06 16:06:55 -07:00
ccd0
0f770459c0 get new hover working in catalog
Conflicts:
	builds/4chan-X.user.js
	builds/crx/script.js
	src/General/UI.coffee
	src/Images/ImageHover.coffee
2014-04-06 16:06:11 -07:00
ccd0
74ef633fd7 better approach to hover css
Conflicts:
	builds/4chan-X.user.js
	builds/crx/script.js
2014-04-06 16:04:36 -07:00
ccd0
113dde4eae remove listeners on contract 2014-04-06 16:03:47 -07:00
ccd0
342672bab3 implement length 1 queue of videos to be deleted 2014-04-04 22:11:17 -07:00
ccd0
07d5b9eeb8 global sound option 2014-04-04 15:35:16 -07:00
ccd0
26576b4420 video hover 2014-04-04 15:09:56 -07:00
ccd0
03c25ee34a add video expansion 2014-04-04 11:56:10 -07:00
Zixaphir
b6749b91a5 Merge branch 'mayhem' into v3
Conflicts:
	CHANGELOG.md
	CONTRIBUTING.md
	css/style.css
	html/General/Settings-section-Main.html
	json/archives.json
	package.json
	src/Archive/Redirect.coffee
	src/General/Header.coffee
	src/General/Main.coffee
	src/General/Settings.coffee
	src/General/lib/$.coffee
	src/General/lib/thread.class
	src/Linkification/Linkify.coffee
	src/Miscellaneous/AnnouncementHiding.coffee
	src/Monitoring/ThreadStats.coffee
2014-01-22 12:10:34 -07: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
Zixaphir
702a343f5e Fix image expansion
DURR
2014-01-21 13:57:28 -07:00
Mayhem
710655f13e Use xhr.responseType = 'json'. 2014-01-21 14:46:26 +01:00
Zixaphir
dc5daeba06 I really don't like iterating through objects. 2014-01-14 20:17:44 -07:00
Zixaphir
6dd2e60e9a Element.contains was not Array.contains, lol 2013-12-25 10:10:51 -07:00
Zixaphir
91233b8d61 remove [].contains. It was a bad idea.
I shouldn't be messing with stuff like this without a really good
reason for doing so, and the longer I thought about it, the more
it occurred to me that I didn't have one.
2013-12-24 14:41:21 -07:00