2055 Commits

Author SHA1 Message Date
ccd0
24db78a734 Support twitch archive links
Also drop <param name=movie> which should only be needed for IE.
2014-05-09 20:31:56 -07:00
ccd0
2e3aa93ef2 rewrite innerHTML for twitch.tv 2014-05-09 19:37:19 -07:00
ccd0
90149c3b9c Revert "twitch.tv URLs appear to be banned from 4chan, no point in maintaining this code"
This reverts commit 6002d118d6fe6cf21955a1ed16d56d2eaad40471.
2014-05-09 17:29:12 -07:00
ccd0
dd204d95f1 easier to see safety of innerHTML use from one line 2014-05-09 02:46:16 -07:00
ccd0
589b462f84 hide links on embed instead of recreating them on unembed 2014-05-09 02:39:58 -07:00
ccd0
c06a24742f one less innerHTML to check 2014-05-09 01:40:24 -07:00
ccd0
14138de371 fix stray quote mark 2014-05-09 01:21:20 -07:00
ccd0
546c5d3297 soundcloud doesn't need to inject their own HTML 2014-05-09 01:15:29 -07:00
ccd0
0110186caa update mediacru.sh filetypes 2014-05-09 00:51:09 -07:00
ccd0
2a9f2cc196 switch to template approach 2014-05-09 00:31:37 -07:00
ccd0
6002d118d6 twitch.tv URLs appear to be banned from 4chan, no point in maintaining this code 2014-05-08 23:35:03 -07:00
ccd0
ba9f2c65a3 remove semicolon 2014-05-08 23:15:57 -07:00
Zixaphir
40d550ab4e Fuck protocols. 2014-05-08 23:12:14 -07:00
Zixaphir
e767f77bce Clean reserved words 2014-05-08 23:05:05 -07:00
Zixaphir
a2e5d07976 Small Linkifier miss involving hostname.com:port 2014-05-08 22:37:08 -07:00
ccd0
9eabd7a4dc remove leftover cached title stuff 2014-05-08 22:31:25 -07:00
Zixaphir
af62b44df1 Eliminate title cacheing for the time being.
Causing too many problems.
Also attempt to optimize Linkify.
2014-05-08 22:22:04 -07:00
Zixaphir
83cfa3fea9 Lets not even bother linkifying a comment with no links.
ccd0: not committing this part for now:
Also switch out some loops.
2014-05-08 21:59:01 -07:00
ccd0
b149071d67 fix embedding in inline quotes 2014-05-08 21:36:22 -07:00
ccd0
191aee4a5d move regString definition 2014-05-08 19:57:08 -07:00
ccd0
abf8459325 small fixes to mediacrush embedding 2014-05-08 01:51:34 -07:00
ccd0
1ddca2a236 I don't think these are exploitable, but better to be safe 2014-05-08 01:44:36 -07:00
ccd0
d3c42c25cc this should be textContent 2014-05-08 01:31:51 -07:00
ccd0
8d9d230a60 don't execute SVG javascript 2014-05-08 00:59:06 -07:00
ccd0
7c8e845511 fix escaping of /f/ file URLs 2014-05-07 23:35:22 -07:00
ccd0
454b073f87 reuse dimension check image/video elements for thumbnail maker 2014-05-06 03:35:35 -07:00
Zixaphir
77f65fd349 Fat arrows aren't needed here 2014-05-06 00:25:32 -07:00
Zixaphir
ed0d768dfb Smart 2014-05-05 22:33:03 -07:00
Zixaphir
a63a5e786c Small flags input reflow 2014-05-05 22:04:03 -07:00
Zixaphir
198df86bfd Remove unnecessary debug code 2014-05-05 21:51:37 -07:00
Zixaphir
cbe2d0284c lelwat 2014-05-05 21:47:31 -07:00
Zixaphir
3e8367c374 Get rid of another unnecessary loop of my own design
Conflicts:
	builds/4chan-X.user.js
	builds/crx/script.js
	src/Posting/QR.coffee
2014-05-05 21:30:48 -07:00
Zixaphir
a126418295 MISTAKES WERE MADE!
Conflicts:
	builds/4chan-X.user.js
	builds/crx/script.js
2014-05-05 21:19:12 -07:00
Zixaphir
3b8627bd87 Fix a bug causing the QR to not load correctly.
I don't know why we were using @ready.
2014-05-05 21:10:11 -07:00
Blade
ca693f4cc8 Update archives.json 2014-05-05 20:21:18 -07:00
Blade
ce37b81524 Update archives.json 2014-05-05 20:20:50 -07:00
ccd0
8a5130bbcf remove more unnecessary style stuff 2014-05-03 11:58:19 -07:00
ccd0
66e402031c expand original post form when not hidden (except in catalog) 2014-05-03 09:53:57 -07:00
ccd0
0dab9c3190 don't hide horizontal rules; 4chan X is not a style script 2014-05-03 09:11:16 -07:00
ccd0
0fa81c9876 QR button should go above the post form unhiding link 2014-05-03 09:01:44 -07:00
ccd0
6da7943eaf apply Mayhem's post form hiding fix 2014-05-03 08:27:54 -07:00
ccd0
57f780ebfb apply Mayhem's quoting fix 2014-05-03 08:23:02 -07:00
ccd0
4ca58ff430 fix captcha after latest changes 2014-05-02 16:05:31 -07:00
Enzo Moretti
0fdd1e8595 Removing /v/ from stable Foolz archive 2014-05-02 12:30:58 -07:00
ccd0
da5c9974e6 max image dimensions are now 10000x10000 2014-05-01 02:58:03 -07:00
ccd0
4d607ed3e7 SWF now has an official mime type 2014-05-01 02:38:48 -07:00
ccd0
779b78e084 empty mime type no longer needed
Originally added to work around an issue with URLs pasted in the
file field in Windows, it now does more harm than good.
2014-05-01 02:11:15 -07:00
ccd0
afecbaaeae test for audio stream (Firefox only) 2014-05-01 01:41:34 -07:00
ccd0
345e176f67 report all the errors 2014-05-01 01:31:22 -07:00
ccd0
5f0021842e allow user to ignore file warnings 2014-05-01 01:17:42 -07:00