czaks
dbaeb395ac
auto-reload.js: it`s actually setTimeout, not setInterval, right?
10 years ago
czaks
ed5272f17d
auto-reload.js: don`t scroll up
10 years ago
8chan
5d8d20fcc5
Add timer to auto reload js
Conflicts:
js/auto-reload.js
10 years ago
Michael Walker
abaf80fd8a
Reset the delay to the minimum upon focussing the window (configurable)
10 years ago
Michael Walker
54fdd54e89
Make the delays configurable in settings.js
10 years ago
Michael Walker
97cfec836b
Add a maximum reload delay
10 years ago
Michael Walker
91a3016d27
Increase the poll_interval_delay when there are no posts
10 years ago
Michael Walker
0e18636fe6
Move the magic numbers out to variables
10 years ago
czaks
c043c42445
add copyright notices for javascripts based on commit history
Conflicts:
js/auto-reload.js
js/toggle-images.js
11 years ago
czaks
212a191ff4
auto-reload.js: add a number indicating new posts in the tab title
11 years ago
czaks
5817194be4
auto-reload.js: tweak timeouts, so now it gets new posts even if not at bottom
11 years ago
czaks
1c6b178dc5
add copyright notices for javascripts based on commit history
11 years ago
czaks
9039d9c4d9
fix previous documentations ( vichan-devel/Tinyboard#26 )
11 years ago
czaks
faf5fe1ef6
Revert "auto-reload.js: evade caching"
This reverts commit e9226dba46
.
11 years ago
czaks
e9226dba46
auto-reload.js: evade caching
11 years ago
czaks
371685140a
watch.js: watch board + watch thread + tool for pinning boards; currently may not work the best at mobiles and without compact-boardlist
11 years ago
czaks
fa28560982
auto-reload.js: add a number indicating new posts in the tab title
11 years ago
czaks
42ae3550f9
auto-reload.js: tweak timeouts, so now it gets new posts even if not at bottom
11 years ago
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.
11 years ago
Michael Save
6a9169657d
Merged js/ into https://github.com/savetheinternet/Tinyboard
12 years ago
Michael Save
2faaacd0f2
Update links in Javascript comments
12 years ago
Michael Save
d38801fc4e
auto-reload.js: poll every 5 seconds, not 500 ms
12 years ago
Michael Save
21a1152ebe
custom event for new posts, so auto-reload.js etc will work with forced-anon.js and post-hover.js
12 years ago
Michael Save
f48d338ce0
$('div.post.reply:last') is too specific; use $('div.post:last') or else it won't include the OP
12 years ago
Michael Save
af7b5b5d78
better scroll events
12 years ago
Michael Save
a3b3e1cc64
Don't check for new posts unless user is scrolled past the most recent one.
12 years ago
Michael Save
34301da174
local-time.js: convert times into user's timezone
12 years ago
Michael Save
ee54df825a
auto-reload.js: bringing AJAX to tinyboard
12 years ago