Commit Graph

27 Commits

Author SHA1 Message Date
Benjamin Southall
501678d6bb Fix auto-reload.js incorrect reply loading when the thread is just the opening post. 2017-04-28 14:11:21 +09:00
Benjamin Southall
2fae551db7 Feature Req: on/off button for auto-reload js #1 Fix insertafter selector so that new post gets autoloaded with the correct formatting and spacing. 2017-03-13 19:02:22 +09:00
Benjamin Southall
ad935a1aef Feature Req: on/off button for auto-reload js #1 Fix incorrect insertAfter selector which prevented page from being updated when auto-reloaded and caused new post count to climb incorrectly in title of page 2017-03-11 17:52:39 +09:00
Benjamin Southall
3a2e2f4f6e Initial Implementation of Feature Req: on/off button for auto-reload js #1, configurable in localstorage using options menu 2017-03-10 15:37:36 +09:00
Michael Walker
ab24c2af57 Put threadlinks in a bar 2014-12-22 19:35:40 +00:00
Michael Walker
4f0be0d3c2 Use 8chan's auto-reload.js 2014-11-13 00:03:02 +00:00
Michael Walker
abaf80fd8a Reset the delay to the minimum upon focussing the window (configurable) 2014-05-05 20:54:40 +01:00
Michael Walker
54fdd54e89 Make the delays configurable in settings.js 2014-05-05 20:51:51 +01:00
Michael Walker
97cfec836b Add a maximum reload delay 2014-05-05 19:33:57 +01:00
Michael Walker
91a3016d27 Increase the poll_interval_delay when there are no posts 2014-05-05 19:33:57 +01:00
Michael Walker
0e18636fe6 Move the magic numbers out to variables 2014-05-05 19:33:57 +01:00
czaks
1c6b178dc5 add copyright notices for javascripts based on commit history 2014-01-19 14:27:24 +01:00
czaks
9039d9c4d9 fix previous documentations ( vichan-devel/Tinyboard#26 ) 2014-01-19 13:40:29 +01:00
czaks
faf5fe1ef6 Revert "auto-reload.js: evade caching"
This reverts commit e9226dba46.
2013-12-31 15:39:47 +01:00
czaks
e9226dba46 auto-reload.js: evade caching 2013-12-29 04:38:16 +01:00
czaks
371685140a watch.js: watch board + watch thread + tool for pinning boards; currently may not work the best at mobiles and without compact-boardlist 2013-12-29 01:10:35 +01:00
czaks
fa28560982 auto-reload.js: add a number indicating new posts in the tab title 2013-12-23 17:31:47 +01:00
czaks
42ae3550f9 auto-reload.js: tweak timeouts, so now it gets new posts even if not at bottom 2013-12-23 16:34:44 +01:00
undido
41ee55a1b2 Update auto-reload.js
check if viewing a thread or viewing a board page when updating a thread so new posts do not appear at bottom of page while viewing threads list not sure if this was because of an outdated template but I thought I should point out this as it may affect html templates no matter the code as the banner code is the only code that checks where the user currently is.
2013-03-20 00:56:59 -03:00
Michael Save
2faaacd0f2 Update links in Javascript comments 2012-03-31 11:13:11 +11:00
Michael Save
d38801fc4e auto-reload.js: poll every 5 seconds, not 500 ms 2012-03-18 23:57:38 +11:00
Michael Save
21a1152ebe custom event for new posts, so auto-reload.js etc will work with forced-anon.js and post-hover.js 2012-03-18 23:55:01 +11:00
Michael Save
f48d338ce0 $('div.post.reply:last') is too specific; use $('div.post:last') or else it won't include the OP 2012-03-16 09:08:03 +11:00
Michael Save
af7b5b5d78 better scroll events 2012-03-15 20:40:52 +11:00
Michael Save
a3b3e1cc64 Don't check for new posts unless user is scrolled past the most recent one. 2012-03-15 16:42:58 +11:00
Michael Save
34301da174 local-time.js: convert times into user's timezone 2012-03-15 16:19:26 +11:00
Michael Save
ee54df825a auto-reload.js: bringing AJAX to tinyboard 2012-03-15 14:44:15 +11:00