Commit Graph

63 Commits

Author SHA1 Message Date
Kerrick Long 0bbd1341e2 various settings changes 2011-07-13 00:31:25 -05:00
Kerrick Long b5a26f4ce7 Much easier to hide the whole list item.
If they want to unhide it, they can still see the link to do so.
2011-07-12 19:08:46 -05:00
Kerrick Long 2f75dcf700 Hiding and Unhiding now works. 2011-07-12 18:58:13 -05:00
Kerrick Long 861b84758a Unsaving works. 2011-07-12 17:58:49 -05:00
Kerrick Long 216d60af21 Saving posts now works. 2011-07-12 17:46:05 -05:00
Kerrick Long 0ac6b6bcb9 Removed console.log() calls. 2011-07-12 17:45:55 -05:00
Kerrick Long 13e956d1a7 Anything that has a click action should show that on hover. 2011-07-12 17:45:34 -05:00
Kerrick Long b19b11e136 Reformatted for 8-character wide tabs. 2011-06-28 22:42:07 -05:00
Kerrick Long d2fa85f5ae Using encodeURIComponent escapes the URL properly to be passed as a Query String value.
Thanks, octatone!
2011-06-28 17:12:25 -05:00
Kerrick Long 53f5a57081 voteDownPost() works. 2011-06-28 16:50:42 -05:00
Kerrick Long 8d9ffc7856 Changed name from voteUp() to voteUpPost(). Clarity over terseness. 2011-06-28 16:47:43 -05:00
Kerrick Long 9ffa43ce12 Added voteUp() functionality. 2011-06-28 16:05:57 -05:00
Kerrick Long f45b219282 Refactored how the cache is stored 2011-06-28 16:05:30 -05:00
Kerrick Long 2f146d7a6b Kept settings as a Store() object. 2011-06-28 16:03:40 -05:00
Kerrick Long 48d0dbd179 Added forEachIn utility 2011-06-28 16:02:03 -05:00
Kerrick Long dcc7592085 Got fresh content working again. 2011-06-28 10:53:15 -05:00
Kerrick Long 0d6e462924 Got fresh content working again. 2011-06-28 10:52:14 -05:00
Kerrick Long 0fd0b00e9f Okay, screw that! It was way too annoying. 2011-06-28 01:50:53 -05:00
Kerrick Long 2c6c3754d5 Reorganized, made object-oriented, cleaned up.
Note that I have not yet gotten voting working again.
2011-06-28 01:24:40 -05:00
Kerrick Long bf7654c6d9 Made freshCutoff have a max of 91 days old instead of 90.
If the user selects 91 days old, it means show all posts.
2011-06-23 15:20:57 -05:00
Kerrick Long 0128a940df spacing 2011-06-22 16:46:02 -05:00
Kerrick Long 72c182e899 SCARY NEW IDEA!!! 2011-06-22 16:24:23 -05:00
Kerrick Long 8bed8579e8 Changed color of badge for comments pages to be reddit's header blue. 2011-06-22 16:15:40 -05:00
Kerrick Long 974fae1c20 Fixed comments pages showing '1' instead of '...' 2011-06-22 16:15:12 -05:00
Kerrick Long 00843b4f06 updated todo list 2011-06-22 15:40:48 -05:00
Kerrick Long 1ac9fd67e4 Integrated Fancy Settings and got Fresh Content working 2011-06-22 15:37:45 -05:00
Kerrick Long d0a80df64d Fixed accidentally grabbing save state instead of hidden state. 2011-06-22 12:50:56 -05:00
Kerrick Long 80ffd2e7df Comments page voting now works with single
comment permalinks and/or context.
2011-06-22 12:47:48 -05:00
Kerrick Long 8c4b847933 deleted reference to options.html 2011-06-21 16:22:25 -05:00
Kerrick Long ce5064a0dd moved background JS into its own file 2011-06-21 15:44:20 -05:00
Kerrick Long d71b8b84fb various code cleanups 2011-06-21 15:44:00 -05:00
Kerrick Long 230d732685 webkit border radius 2011-06-21 15:43:45 -05:00
Kerrick Long b64bfc9514 Pushing things into an array and joining it at the end is faster
than concatenating strings, because JS creates a new string for
every concatenatiion, and discards the old one.
2011-06-21 10:45:51 -05:00
Kerrick Long 2df1ce630c removed comment 2011-06-20 21:26:04 -05:00
Kerrick Long dbf791f252 terseness? 2011-06-20 21:22:45 -05:00
Kerrick Long 1e7790ea9c Fixed merged class and ID. 2011-06-20 21:20:13 -05:00
Kerrick Long 2c3f5ee471 As it turns out, using innerHTML gives better performance than createElement() and appendChild(). http://jsperf.com/dom-vs-innerhtml/11 Plus, it looks cleaner. 2011-06-20 21:19:52 -05:00
Kerrick Long ebc8d2d872 As it turns out, using innerHTML gives better performance
than createElement() and appendChild().
http://jsperf.com/dom-vs-innerhtml/11
Plus, it looks cleaner.
2011-06-20 21:12:46 -05:00
Kerrick Long c65ca8d841 New idea: fresh content 2011-06-20 15:37:21 -05:00
Kerrick Long 35f896a153 New ideas 2011-06-19 19:26:53 -05:00
Kerrick Long efe4129587 Downvoting now works. 2011-06-19 17:03:17 -05:00
Kerrick Long 4e4e458607 If the user is on a comments page, the popup no longer shows a submit link. 2011-06-19 06:50:47 -05:00
Kerrick Long 3e9ce33199 If the user is on the comments page, the badge now displays "..." instead of 1. 2011-06-19 06:49:41 -05:00
Kerrick Long 412963ecaa Detect if the user is on a comments page, and use info for that post if so. 2011-06-19 05:17:51 -05:00
Kerrick Long 122ddfae5c brace in the wrong place 2011-06-16 23:59:19 -05:00
Kerrick Long dde2dd848d Duh, wrong spot. 2011-06-16 23:56:44 -05:00
Kerrick Long 2902eac2ef I could sort the list 2011-06-16 23:56:24 -05:00
Kerrick Long 6ef7835f29 made hidden posts less opaque 2011-06-16 23:35:01 -05:00
Kerrick Long ee7adc5f55 created apiCall() so I can use that for all api calls and reuse code 2011-06-16 23:34:39 -05:00
Kerrick Long e6b2899e5e Removed duplicate date formatting functions. 2011-06-16 22:07:11 -05:00