79 Commits

Author SHA1 Message Date
Zixaphir
8429c60d30 Some Linkify refactoring 2013-08-17 02:44:33 -07:00
Zixaphir
2f497d700a Fix a small linkifier oversight 2013-08-16 00:48:27 -07:00
seaweedchan
2a8e03dc21 Fix linkifier regex to not accept ellipses as links 2013-08-15 01:43:51 -07:00
Zixaphir
b9581dd428 Separate out IPv4 again 2013-08-14 19:15:46 -07:00
Zixaphir
9715424f1f Slash or NOTHING 2013-08-14 19:09:51 -07:00
Zixaphir
91ff46718d comment 2013-08-14 18:41:59 -07:00
Zixaphir
dd2a5bb6e9 Simplify 2013-08-14 18:36:22 -07:00
Zixaphir
34ece16aaa This should match *all* top level domains 2013-08-14 18:32:34 -07:00
Zixaphir
441f9eac66 Remove the possibility of accidentally matching .jpg with .jp 2013-08-14 15:58:13 -07:00
Zixaphir
521511cd3a Well that was dumb. 2013-08-14 15:43:38 -07:00
seaweedchan
2f074e0353 info domain 2013-08-14 03:42:54 -07:00
Zixaphir
35b2015928 Merge branch 'master' of https://github.com/seaweedchan/4chan-x into v3
Conflicts:
	builds/4chan-X.user.js
	builds/crx/script.js
2013-08-14 03:34:11 -07:00
Zixaphir
97475d6fac Better leading and trailing character removal. 2013-08-14 03:32:07 -07:00
seaweedchan
6b98f8acb4 Make classes consistent with Mayhem X 2013-08-14 02:41:07 -07:00
Zixaphir
42c4937dfb Fix range.endOffset in inline links that end before node.length 2013-08-14 02:02:36 -07:00
Zixaphir
7a08d38d36 Update TDLs 2013-08-14 01:43:09 -07:00
seaweedchan
449cfeeebf Merge PullRequest branch 2013-08-14 00:49:39 -07:00
seaweedchan
756c993ff0 Merge v3 branch 2013-08-14 00:48:58 -07:00
seaweedchan
a6d083b141 .mp and .ly linkifying 2013-08-14 00:45:07 -07:00
seaweedchan
7702a8ce10 Fix typo 2013-08-14 00:38:31 -07:00
seaweedchan
780b740b1a Make first section of linkifier more specific 2013-08-14 00:35:06 -07:00
seaweedchan
46cfd0dfcc US domain name linkifying 2013-08-14 00:03:32 -07:00
seaweedchan
5b326a41ce US domain name linkifying 2013-08-13 23:53:06 -07:00
seaweedchan
2f1fc73ee0 Merge branch 'v3' of https://github.com/zixaphir/appchan-x 2013-08-13 23:26:44 -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
Jordan Bates
4377e1a93d Merge branch 'v3' of https://github.com/zixaphir/appchan-x 2013-08-13 18:57:55 -07:00
Zixaphir
8dc14633eb Better bracket trim, now with comma trim 2013-08-13 18:54:47 -07:00
Jordan Bates
5ce2c53f14 Merge branch 'v3' of https://github.com/zixaphir/appchan-x 2013-08-13 18:20:00 -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
Jordan Bates
f345151583 Merge branch 'v3' of https://github.com/zixaphir/appchan-x 2013-08-13 15:37:18 -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
seaweedchan
f2b15cd0ab Merge Zixaphir X 2013-08-13 05:28:46 -07:00
Zixaphir
2ea8441fd4 Fix a few small issues, new Linkifier regex 2013-08-13 04:26:20 -07:00
seaweedchan
b9b4efae5e Merge in new thread watcher and change a few things 2013-08-13 00:03:29 -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
seaweedchan
875f0cd4f8 Merge Zixaphir X 2013-08-12 00:07:39 -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