diff --git a/4chan_x.user.js b/4chan_x.user.js index 880b1c5c0..3c2534680 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -3004,7 +3004,7 @@ if (!(d.hidden || d.oHidden || d.mozHidden || d.webkitHidden)) { j = Math.min(j, 6); } - return Math.max(i, [5, 10, 15, 20, 30, 60, 90, 120, 300, 600][j]); + return Math.max(i, [5, 10, 15, 20, 30, 60, 90, 120, 240, 300][j]); }, timeout: function() { var n; diff --git a/changelog b/changelog index 8ddf19b02..e4b3754fe 100644 --- a/changelog +++ b/changelog @@ -1,5 +1,6 @@ master - Mayhem + Adjust background tabs max update interval down to 5 minutes instead of 10. Divide the Delete Link in the Menu into a Post and Image deletion links. The Delete Links in the Menu now have a cooldown. diff --git a/script.coffee b/script.coffee index ec8ba1b66..37f636d34 100644 --- a/script.coffee +++ b/script.coffee @@ -2409,7 +2409,7 @@ Updater = unless d.hidden or d.oHidden or d.mozHidden or d.webkitHidden # Don't increase the refresh rate too much on visible tabs. j = Math.min j, 6 - Math.max i, [5, 10, 15, 20, 30, 60, 90, 120, 300, 600][j] + Math.max i, [5, 10, 15, 20, 30, 60, 90, 120, 240, 300][j] timeout: -> Updater.timeoutID = setTimeout Updater.timeout, 1000