3875 Commits

Author SHA1 Message Date
Nicolas Stepien
33af2244da Fix crash on Fx/Opera 2013-03-29 15:03:22 +01:00
Nicolas Stepien
be267adc57 Only save to localStorage if it's a key we sync between tabs.
Stay eco-friendly!
2013-03-29 14:23:44 +01:00
Nicolas Stepien
4d886fe85c Update $.sync to use the Chrome Storage API and only one event listener. 2013-03-29 14:18:44 +01:00
Nicolas Stepien
64b5da652f Fix thread hiding init. 2013-03-29 13:35:05 +01:00
Nicolas Stepien
1b5695ac82 Simpler $.set for the crx. 2013-03-29 06:28:26 +01:00
Nicolas Stepien
9cf363ad81 Fix persona loading. 2013-03-29 06:17:14 +01:00
Nicolas Stepien
0a33b5a6d5 Make $.get use the Chrome storage API. Close #503
Still need to fix $.sync, which I'll do tomorrow. Good night.
2013-03-29 05:59:23 +01:00
Nicolas Stepien
b3b224a8df Make $.set use the Chrome storage API.
This is about to get really ugly.
2013-03-29 02:59:20 +01:00
Nicolas Stepien
1b9c606f11 Begin working on Chrome's storage API.
Let's start easy with $.delete.
2013-03-29 02:39:02 +01:00
Nicolas Stepien
48457f2712 name, value -> key, val 2013-03-29 02:07:19 +01:00
Nicolas Stepien
7107c754af Fix header autohiding not syncing correctly. 2013-03-29 01:19:18 +01:00
Nicolas Stepien
b69c1934cd Don't need that workaround on Chrome. 2013-03-28 16:52:15 +01:00
Nicolas Stepien
7dafdfd6e4 Longer excerpts. 2013-03-28 16:49:27 +01:00
Nicolas Stepien
e37216e274 Revert 3 unread-related commits. #968
This reverts commits:
 - c49c201d91de6484e07c07650619d7924b192ffb
 - f95acfd134a9ed14d4293b1fb0896566d3c4721c
 - 846efbd013a5e8bb6e4361c842b20da10b17f587
2013-03-28 16:47:37 +01:00
Nicolas Stepien
be92325ee4 Fix logic. 2013-03-28 03:23:10 +01:00
Nicolas Stepien
49a67e24cd Merge branch 'v3' of github.com:MayhemYDG/4chan-x into v3 2013-03-28 03:11:38 +01:00
Nicolas Stepien
57d65aa22a Notify users of available updates. #968 2013-03-28 03:10:50 +01:00
Mayhem
3454f6970b Merge pull request #970 from aeosynth/reply_nav
fix reply nav
2013-03-27 18:15:59 -07:00
James Campos
540ba77646 fix reply nav 2013-03-27 18:02:50 -07:00
Nicolas Stepien
60737bd33e api/images/sys.4chan.org are not legit pages. 2013-03-27 21:55:24 +01:00
Nicolas Stepien
c9323272c6 Add a tiny delay before sliding down the Header, so that it doesn't start sliding when it's in our
path but not our destination.
2013-03-27 21:27:52 +01:00
Nicolas Stepien
9fe9dbe3e0 Fix unexpanding posts leaving more posts that it should on certain boards. #968 2013-03-27 19:37:11 +01:00
Nicolas Stepien
f8f9626a7e Forgot quotes. 2013-03-27 18:54:33 +01:00
Nicolas Stepien
50d091c896 Build $.delete, $.get and $.set depending on the extension type. 2013-03-27 18:41:13 +01:00
Nicolas Stepien
f01d6c974b Hardcode the engine. 2013-03-27 18:33:03 +01:00
Nicolas Stepien
346b2911b1 Remove that if in non-userjs builds. 2013-03-27 18:27:58 +01:00
Nicolas Stepien
c08121ba08 Set up different building system depending on the type of extension. 2013-03-27 18:23:57 +01:00
Nicolas Stepien
7ddb59862c URL parameters should always be encodeURIComponent'd. 2013-03-27 17:42:50 +01:00
Nicolas Stepien
178fed05a4 Toggle header autohiding with its border on mousedown instead of click. 2013-03-27 17:26:26 +01:00
Nicolas Stepien
0ee02ba7b0 Add a checkbox in the Header's menu to toggle auto-hiding. #968 2013-03-27 17:25:16 +01:00
Nicolas Stepien
1854c2a27b Revert "Make it apparent where you have to click to toggle the header's autohiding."
This reverts commit 1604c0028a84ae07eeb65eeaca2b11c1530fdebf.
2013-03-27 05:54:38 +01:00
Nicolas Stepien
0f73d2dffc Set a minimum width for the QR's submit button. #968 2013-03-27 03:54:37 +01:00
Nicolas Stepien
471daf9cfd Fix incorrect post count caused by the unread line, which broke 4chan's inline extensions. #968 2013-03-27 00:07:19 +01:00
Nicolas Stepien
0a08e7500d Get rid of $.unsafeWindow. #968
;_;
2013-03-26 23:48:33 +01:00
Nicolas Stepien
1604c0028a Make it apparent where you have to click to toggle the header's autohiding. 2013-03-26 22:54:04 +01:00
Nicolas Stepien
846efbd013 Remove the unread count when there are no unread posts.
Also make the thread excerpt longer.
2013-03-26 22:23:09 +01:00
Nicolas Stepien
f95acfd134 oops 2013-03-26 20:35:28 +01:00
Nicolas Stepien
c49c201d91 This should fix the unread issue, according to @Nami-Doc. #968 2013-03-26 20:31:05 +01:00
Nicolas Stepien
ffea1676fd Fix unsafeWindow for the newer versions of Chrome. #968 2013-03-26 02:58:53 +01:00
Nicolas Stepien
7cfd5e9d5d Bold the current tab in the settings. #968 2013-03-26 01:10:42 +01:00
Nicolas Stepien
1f1709d86a Move the Custom CSS setting to the Rice tab. #968
The checkbox will toggle the style live.
2013-03-26 00:22:27 +01:00
Nicolas Stepien
7fab082bea Fix capcode parsing. #968 2013-03-25 23:22:17 +01:00
Nicolas Stepien
56a93212d2 Change the tab order for the QR submit button.
comment -> [captcha] -> submit -> file -> [spoiler] -> rm file
2013-03-25 20:55:48 +01:00
Nicolas Stepien
a1817f0966 Typo. #968 2013-03-25 05:05:05 +01:00
Nicolas Stepien
5e94c6ec52 When contracting an image, don't move the post under the header's mousetrap, but beneath it. 2013-03-25 04:39:01 +01:00
Nicolas Stepien
65ef1d0210 Don't open replies from the index in a new tab if the conf Open Post in New Tab is disabled. #968 2013-03-25 03:55:27 +01:00
Nicolas Stepien
c9f4a757ed Shorter thread excerpt. #968 2013-03-25 03:46:57 +01:00
Nicolas Stepien
f745947602 Make sure callbacks have a name. #968
/slap @milkytiptoe
2013-03-25 03:36:50 +01:00
Nicolas Stepien
607c935e0d Simplify the grunt-watched files pattern. 2013-03-25 00:52:23 +01:00
Nicolas Stepien
b1601188a1 Add possibility to force index or catalog linking on a board link. #968 2013-03-25 00:00:57 +01:00