50 Commits

Author SHA1 Message Date
seaweedchan
46cfd0dfcc US domain name linkifying 2013-08-14 00:03:32 -07:00
Zixaphir
67636c5b89 Small trim 2013-08-13 20:05:25 -07:00
Zixaphir
b424adb93b Forgot to make regex global 2013-08-13 19:26:43 -07:00
Zixaphir
fb8a856fba Come on, I'm smarter than this 2013-08-13 19:24:13 -07:00
Zixaphir
68e19a0b2e better trim 2013-08-13 19:20:10 -07:00
Zixaphir
8dc14633eb Better bracket trim, now with comma trim 2013-08-13 18:54:47 -07:00
Zixaphir
cc6265a38f Shave off a few things 2013-08-13 18:18:53 -07:00
Zixaphir
cb941ee3fa Bracket removal 2013-08-13 18:16:34 -07:00
Zixaphir
976f539c8c Don't allow indexes larger than start node length 2013-08-13 15:34:39 -07:00
Zixaphir
f4e8053783 Prevent jp from matching jpg 2013-08-13 15:20:18 -07:00
Zixaphir
2ea8441fd4 Fix a few small issues, new Linkifier regex 2013-08-13 04:26:20 -07:00
Zixaphir
86d4fcb07c Lets be a bit smarter about moving the offset 2013-08-12 16:36:05 -07:00
Zixaphir
4a047c39e8 Lets let Link Detection not be influenced by the DOM structure? 2013-08-12 16:05:01 -07:00
Zixaphir
22c4fdede5 Range.setEndAfter doesn't work in fragments
But Range.setEnd does?
2013-08-12 00:33:34 -07:00
Zixaphir
a8ee9b3992 Oops, accidentally got tired. 2013-08-11 23:44:05 -07:00
Zixaphir
256e20aea5 Since we're adding recursion, we should probably move our variable
declaration outside of the potential recursive function
2013-08-11 23:33:44 -07:00
Zixaphir
045ba42296 Single-handedly one of the most expensive features in 4chan X?
LETS ADD RECURSION!
2013-08-11 23:31:33 -07:00
Zixaphir
708f56c759 Strengthen Linkifier
Now can linkify within code tags, providing the initial 'check'
is successful.
2013-08-11 23:25:43 -07:00
Zixaphir
08e7a8a6c4 This will get better when MediaCrush's API improves? 2013-08-10 02:04:41 -07:00
Zixaphir
2234d9141f I don't like it. 2013-08-06 23:47:56 -07:00
Zixaphir
14d9bbaeff We're allowed to be funny. 2013-08-06 22:13:13 -07:00
Zixaphir
c325b9eeda Let's just add some CoffeeScript flavor where possible <3 2013-08-06 22:07:21 -07:00
Zixaphir
3384c1b362 Unneeded. 2013-08-06 22:03:04 -07:00
Zixaphir
1c4f4cea24 Fix some conflicts with auto-embed and link title
Also, less `Function.call(this)`
2013-08-06 21:54:14 -07:00
Zixaphir
463d6607f6 My recent preference of while loops is because of _len 2013-08-06 21:14:47 -07:00
Zixaphir
4ff97f9435 Fix issues with clones, re-add auto-embed 2013-08-06 21:05:34 -07:00
Zixaphir
b47aea7055 Restore node to previous state instead of replacing node with url 2013-08-06 19:47:23 -07:00
Zixaphir
d5553cf5fd TwitchTV embedding (live and archive) 2013-08-05 14:05:29 -07:00
Zixaphir
c44014b19e Lets stop filling syntactical fields with non-meta-data 2013-08-05 13:01:44 -07:00
Zixaphir
250323d304 Vine 2013-08-05 12:19:26 -07:00
Zixaphir
9eda79c24c Fix Linkify in Chrome
Was skipping every other URL if they were on trailing lines
2013-08-05 00:05:02 -07:00
Zixaphir
b60ddfe907 I think this is safer. 2013-08-04 18:55:10 -07:00
Zixaphir
a6f6f44d58 Linkifier Rewrite 2013-08-04 18:47:04 -07:00
Jordan Bates
227ae3888a Vimeo, Liveleak, and Vocaroo wmodes 2013-05-25 13:40:35 -07:00
seaweedchan
cd533799ea Add WM Mode for YouTube videos, #85
http://stackoverflow.com/questions/886864/differences-between-using-wmode-transparent-opaque-or-window-for-an-embe
2013-05-24 23:59:39 -07:00
Zixaphir
f16cef118f Lets... not store a useless RegExp string in memory. 2013-05-02 01:23:51 -07:00
Jordan Bates
e33deabf57 Move if statement into init 2013-05-01 20:11:08 -07:00
Jordan Bates
4ff91c52c2 Close #46 2013-05-01 14:18:29 -07:00
Jordan Bates
9ebd79bb3e Paste.installgentoo.net embedding 2013-05-01 12:58:05 -07:00
Jordan Bates
0c2bdc1d6a Add youtube time 2013-05-01 10:45:21 -07:00
Jordan Bates
a9fa6dac56 External image embedding 2013-05-01 03:57:20 -07:00
Jordan Bates
ce25bf8ef8 Better gist regex 2013-04-30 20:50:45 -07:00
Zixaphir
fb3d995b11 gist title link 2013-04-30 18:41:38 -07:00
Jordan Bates
f4affdacc2 Add gist embedding 2013-04-30 10:17:48 -07:00
Jordan Bates
e92d0cd82c Don't try to embed pastebin user profiles 2013-04-30 08:26:13 -07:00
Jordan Bates
566e10d898 Add link favicons 2013-04-30 08:06:15 -07:00
Jordan Bates
286047cc44 Fix link title depending on embedding 2013-04-30 07:04:22 -07:00
Jordan Bates
23f1b9a1bf Pastebin got caught in the crossfire\! 2013-04-30 05:40:20 -07:00
Jordan Bates
878690131e Fix #33 (I think...) 2013-04-30 05:37:03 -07:00
Jordan Bates
09baa3feea Merge Mayhem's structure 2013-04-26 14:04:12 -07:00