Zixaphir
5ca10fc248
Less hard-coded NSFW boards
...
Let's let 4chan tell us if a board is NSFW or not.
2014-01-12 16:38:34 -07:00
Zixaphir
9a5a4cc03c
Merge branch 'v3'
2014-01-11 21:03:55 -07:00
Zixaphir
43bcc64681
Let Index.update handle its own page functions
2014-01-11 21:02:56 -07:00
Zixaphir
79776710af
return
2014-01-11 20:22:45 -07:00
Zixaphir
ab3a4c6640
Get hash navigation working with Navigate.navigate()
2014-01-11 20:21:25 -07:00
Zixaphir
2e242a9f9d
Holy, how tired was I when I did that? Damn.
2014-01-11 19:52:49 -07:00
Zixaphir
4710baf08c
Merge branch 'v3' into ajson
...
Conflicts:
builds/appchan-x.user.js
builds/crx/script.js
2014-01-11 19:35:00 -07:00
Zixaphir
495567682b
Fix duplicate backlinks
2014-01-11 19:34:07 -07:00
Zixaphir
75c76d5ed0
Don't know how I missed that while merging...
2014-01-11 16:57:17 -07:00
Zixaphir
6bafef092b
Restore the hr at the bottom of threads
2014-01-11 12:51:14 -07:00
Zixaphir
a20e85d30f
Features can *and should* handle under what context they disconnect
2014-01-11 12:03:50 -07:00
Zixaphir
1e24021c07
I think this was what I had meant to put there.
...
It checks unread count already anyways, and the previous behavior
was causing QuoteThreading.force() to run twice, and may have
caused an issue where backlinks were doubling-up? I don't know, I'm
still looking into that issue because it's happening on the Index
as well.
2014-01-11 11:37:11 -07:00
Zixaphir
c2ac7e66b1
Handle popstate on Chrome a bit better
2014-01-11 11:28:33 -07:00
Zixaphir
805c40d3bf
Fix .current switcher
...
Single letter boards were matching, well... anything with their
board letter. I guess I wrote that pretty dumb, hah.
2014-01-11 11:14:35 -07:00
Zixaphir
1e7c617d80
Would be nice if I checked my case before committing, no?
2014-01-11 11:07:34 -07:00
Zixaphir
5222edafd4
Add a check for SFW status before we go stampeding all over it.
...
Lets not do more than we have to do, m'kay?
2014-01-11 11:04:14 -07:00
Zixaphir
d8bc0616e8
Strings y'all
2014-01-11 11:00:04 -07:00
Zixaphir
93c78e2d54
I like that just a little bit better.
2014-01-11 10:56:48 -07:00
Zixaphir
989f1b3c7b
Further reduce redundancy in style switching.
...
Ok, I'm done with that now.
2014-01-11 10:50:49 -07:00
Zixaphir
9d6e29616d
Get favicon switching working, reduce redundancy
2014-01-11 10:44:33 -07:00
Zixaphir
1900bbfa27
Fix Unread Count with JSON features
2014-01-10 23:41:09 -07:00
Zixaphir
685f74de50
Fix Navigate.popstate on Chrome
2014-01-10 23:14:02 -07:00
Zixaphir
865c5acfb6
We can now popstate pages.
2014-01-10 23:08:00 -07:00
Zixaphir
c61c71c764
Fix the QR's state upon navigation with JSON
2014-01-10 22:54:30 -07:00
Zixaphir
1555eb8166
Clones? No.
2014-01-10 21:16:56 -07:00
Zixaphir
44f2b5e434
Let's let the unread features determine how to scroll
...
I profiled this and on a 700 post thread, 30% time was spent trying
to figure out if we needed to scroll to the top of the thread or
not. I don't feel that's acceptable.
2014-01-10 19:04:15 -07:00
Zixaphir
6bd1d44b68
Unread Count actually requires the nodes to be on the page
...
Unfortunately
2014-01-10 18:55:33 -07:00
Zixaphir
bc9f094a77
Turns out I never finished my Thread Title magic...
...
because @MayhemYDG had already done it and done it better. So I
thought mine was working when it was just his... and then
realized when I didn't disconnect it and the index was getting a
title from a thread that it wasn't working and his was.
So let's just use his code.
2014-01-10 18:07:14 -07:00
Zixaphir
ebf6808297
Improve responsiveness of style switcher
2014-01-10 17:52:09 -07:00
Zixaphir
9c895eb632
How about making it actually work?
2014-01-10 14:59:50 -07:00
Zixaphir
b9924973c5
Implement a cheap and easy style switcher on navigate
2014-01-10 14:33:31 -07:00
Zixaphir
8ad7677eeb
Title magic?
2014-01-10 14:10:18 -07:00
Zixaphir
ac4229c578
Lets approach this with intelligence, m'kay?
2014-01-10 13:51:32 -07:00
Zixaphir
e615973436
Optimize header regeneration
2014-01-10 13:12:43 -07:00
Zixaphir
226ea6c27c
Holy shit, it's working.
2014-01-09 23:41:58 -07:00
Zixaphir
890277f296
Update QR depending on state.
2014-01-09 23:20:38 -07:00
Zixaphir
79cf8713a4
Add some stuff, hopefully should reduce errors
2014-01-09 23:10:32 -07:00
Zixaphir
d8a281c569
Fix title changing stuff
2014-01-09 21:30:48 -07:00
Zixaphir
c47b14f0bf
Now I need to figure out how to get the Feature.ready code to run
2014-01-09 20:15:48 -07:00
Zixaphir
b87825e558
That... should fix those errors.
2014-01-09 19:25:47 -07:00
Zixaphir
0d29b42a02
This kills the script
...
No, seriously, this commit breaks everything if you open a reply.
It's k, though, that's why this branch exists: so I can break it
all without harming end users and stable development.
Holy carp, though, the amount of errors thrown!
2014-01-09 18:51:49 -07:00