summaryrefslogtreecommitdiff
path: root/js/auto-reload.js
AgeCommit message (Collapse)Author
2014-10-07i18n auto-reload.jsczaks
2014-10-05better synchronize the javascripts with 8chanczaks
2014-10-05Quick fix to remove lag..ScriptKi77y
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.
2014-10-05Scroll hook thread polling adjusttment.ScriptKi77y
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.
2014-10-05wrap updater in ID spanBui
2014-10-05Update auto-reload.jstopkek
2014-10-05Update auto-reload.jstopkek
2014-09-25auto-reload.js: it`s actually setTimeout, not setInterval, right?czaks
2014-09-25auto-reload.js: don`t scroll upczaks
2014-09-25Add timer to auto reload js8chan
Conflicts: js/auto-reload.js
2014-05-05Reset the delay to the minimum upon focussing the window (configurable)Michael Walker
2014-05-05Make the delays configurable in settings.jsMichael Walker
2014-05-05Add a maximum reload delayMichael Walker
2014-05-05Increase the poll_interval_delay when there are no postsMichael Walker
2014-05-05Move the magic numbers out to variablesMichael Walker
2014-01-19add copyright notices for javascripts based on commit historyczaks
2014-01-19fix previous documentations ( vichan-devel/Tinyboard#26 )czaks
2013-12-31Revert "auto-reload.js: evade caching"czaks
This reverts commit e9226dba4618e5904ffe8ae6dc241a33ec5efe11.
2013-12-29auto-reload.js: evade cachingczaks
2013-12-29watch.js: watch board + watch thread + tool for pinning boards; currently ↵czaks
may not work the best at mobiles and without compact-boardlist
2013-12-23auto-reload.js: add a number indicating new posts in the tab titleczaks
2013-12-23auto-reload.js: tweak timeouts, so now it gets new posts even if not at bottomczaks
2013-03-20Update auto-reload.jsundido
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.
2012-03-31Update links in Javascript commentsMichael Save
2012-03-18auto-reload.js: poll every 5 seconds, not 500 msMichael Save
2012-03-18custom event for new posts, so auto-reload.js etc will work with ↵Michael Save
forced-anon.js and post-hover.js
2012-03-16$('div.post.reply:last') is too specific; use $('div.post:last') or else it ↵Michael Save
won't include the OP
2012-03-15better scroll eventsMichael Save
2012-03-15Don't check for new posts unless user is scrolled past the most recent one.Michael Save
2012-03-15local-time.js: convert times into user's timezoneMichael Save
2012-03-15auto-reload.js: bringing AJAX to tinyboardMichael Save