Benjamin Southall
a68efaec3b
On post submission manually update / reload the page for auto-reload.js.
7 years ago
Benjamin Southall
501678d6bb
Fix auto-reload.js incorrect reply loading when the thread is just the opening post.
7 years ago
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.
7 years ago
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
7 years ago
Benjamin Southall
3a2e2f4f6e
Initial Implementation of Feature Req: on/off button for auto-reload js #1 , configurable in localstorage using options menu
7 years ago
Simon McFarlane
7ab9cc43d1
Revert to old auto-reload.js
with barrucadu's modifications
9 years ago
Michael Walker
ab24c2af57
Put threadlinks in a bar
10 years ago
Michael Walker
4f0be0d3c2
Use 8chan's auto-reload.js
10 years ago
czaks
ca42984ddc
i18n auto-reload.js
10 years ago
czaks
606b39450d
better synchronize the javascripts with 8chan
10 years ago
ScriptKi77y
7d5899d3a7
Quick fix to remove lag..
Executing a function to make a get request while simultaneously triggering a scroll event within the executed scroll event is probably not the best idea.
This still needs work, there should probably be something else used to check for updates, such as an event where page has focus or something else that doesn't get called so many times, preferably something that reduces the timer instead.
This is just a quick fix to stop all the lag on threads when scrolling near the bottom.
10 years ago
ScriptKi77y
2ece97d685
Scroll hook thread polling adjusttment.
Fixed an issue with the scroll hook thread polling.
Users scrolling near the bottom of the page are making upwards of 7-10 requests a second to the site.
Added a small timer using the "poll_interval_mindelay" value to prevent unnecessary polling, one is enough during this minimum time delay.
10 years ago
Bui
7aa2976524
wrap updater in ID span
10 years ago
topkek
71491bc9e9
Update auto-reload.js
10 years ago
topkek
9a096f5888
Update auto-reload.js
10 years ago
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