17

About

Originally based very loosely on the OBSOLETE - Review Stalker user script, this script has been rewritten several times since then. Its purpose is to be a one-stop pinned tab, always checking for review opportunities on main and meta as aggressively as is useful between multiple sites you configure.

License

Version 3 of the GPL or any later version.

Usage

Switching to this tab should only be necessary when you see that it has the site's usual favicon, and when you do switch, the review will already be loaded. If there's more than one review queue with items for you, the others will be loaded in new tabs (although there is an option to force loading all queues in a single tab sequentially). The script will avoid getting stuck on stale review items by waiting an hour (by default) and continuing with the next site in rotation; it will also continue rotation after 15 seconds once a queue is empty or you've reached your limit in it. Normal rotation timing is such that all sites are visited every 5 minutes by default. Every so often (roughly every hour, by default), the script will go through per-site meta queues as well.

For performance reasons, the script will recycle its tab every so often by opening a new tab and closing the old one. By default, this is every 500 page loads. On my somewhat creaky machine, this is fine; it's difficult to imagine needing to set it lower, but if you want to recycle only every 2000 or 5000, you can try that.

If you're not going to do reviews for a while, you can use the Pause button the script adds to avoid pulling in reviews you won't handle.

Screenshots

RSR header with recycle count, meta cycle, and settings circled The red circle surrounds the meta cycle indicator; blue is for the tab history length and its progress toward recycling; greeny-teal is the Settings button. Not circled: the version info and pause button.

RSR Settings dialog for 1.8.25 These settings should be fairly self-explanatory, but any that could be confusing have a tooltip.

Installation

Install Review Stalker Reloaded.

Once installed, visit each of your usual review pages (/review) once in the order you wish the script to run through them. Then leave a tab open with one of them loaded and let it do its thing.

(To remove a site from the list, log out or open a private window so you don't have review privileges, then visit the review page from there.)

Known Issues

  • Doesn't run on discuss.area51.
  • Currently broken and unmaintained (at least by me).

Version History

Most of this is reflected to some degree in the GitHub repository (converted from hg and filtered of commits to unrelated userscripts).

v1.4.06: First public release.
v1.4.07: Hide header on a site without review privileges, where it won't load pages anyway.
v1.5.06: Refactored and tweaked to allow SO more effectively as well as closing the tab leaks from having more than one queue available at a time.
v1.5.07: Bugfix.
v1.5.08: Don't auto-close tabs if they were opened with something other than the review page or a queue.
v1.5.12: Some meta-load bugfixes and changing default interval.
v1.5.13: Fixed some auto-close glitches.
v1.5.14: Another meta-open bugfix.
v1.5.15: Handling docs-beta merge in a somewhat less than graceful fashion.
v1.5.23: Handling site removals, empty additions, and dead sites more gracefully. Also, SO and MSO are considered separately, and includes are tweaked to fit better.
v1.5.24: Empty filtered queues are properly considered empty.
v1.5.26: Handle site removals and error pages still more gracefully.
v1.6.11: Proper config dialog with all current settings.
v1.6.25: Nice icon buttons.
v1.6.26: Typo fix.
v1.6.38: Show current list of sites in Settings; more consistent timing.
v1.6.41: Avoid opening duplicate tabs.
v1.6.42: Quick fix for SE's TLS switchover on child metas. (Expect another fix when the domain scheme changes in 6-8 weeks.)
v1.7.02: Allow ignoring certain queues on certain sites.
v1.7.05: Clean up a few minor corner cases with Docs and spurious alerts.
v1.8.25: Option to force all queues to open in the same tab.
v1.8.28: No more special-casing for SO/MSO; staleness check resets after queue actions; fixed glitch with empty queue sometimes reloading repeatedly.
v1.8.32: Fixed site-meta handling for new meta scheme.
v1.8.33: One more bugfix for compat.
v1.8.49: Lots of assorted bugfixes.
v1.8.51: ru/pt/es SO subdomain support.
v1.9.00: Handle HTTPS more correctly, ignore history pages and ignored queues better, allow turning off recycling, upgrade FontAwesome, handle various error states better.
v1.9.01: Fixed regression on ru/pt/es SO metas.
v1.9.04: Modified to work on new responsive /review layout. v1.9.06: Some stale bugfixes from before I stopped working on it.

60
  • For me, it doesn't work for meta.stackoverflow.com/review - it will redirect me to http://review if it is the first site I add; otherwise, it will redirect automatically to the first added site. FF 47.0.1 on Mac, with Greasemonkey.
    – Glorfindel
    Commented Jul 22, 2016 at 10:46
  • @Glorfindel, thanks for the report! I'll dig into that as soon as I can. Commented Jul 22, 2016 at 16:19
  • @Glorfindel: I believe I've gotten the script to do what it should be doing in all cases (sending you through the list of sites as available, and never haring off in random directions, nor treating MSO as a site meta). Commented Jul 22, 2016 at 23:33
  • I'm having trouble connecting to your web server, is your script available elsewhere in any repository?
    – JohnB
    Commented Jul 26, 2016 at 4:09
  • @JohnB: Unfortunately, no, but the site is back up. Commented Jul 28, 2016 at 0:55
  • @Gallifreyan: OK, strike those last, I've bit the bullet at last and implemented a proper options dialog. Commented Jan 29, 2017 at 0:45
  • Is it ok that the app opens a heck of a lot of review tabs? I left one tab open, and 15 minutes later there were 20. Which setting is this related to? Commented Feb 1, 2017 at 17:09
  • 1
    @Gallifreyan: Fixed now. ;) Commented Feb 5, 2017 at 1:52
  • Is there a way I can configure this to ignore a specific type of review queue (e.g. close votes)? Also it generates multiple tabs which are not pinned; I don't know if this is intentional
    – suomynonA
    Commented Mar 7, 2017 at 0:34
  • @suomynonA: Not yet. I can look into what that would take, though. Commented Mar 7, 2017 at 0:35
  • Maybe that wouldn't allow the script to redirect to /^https?://[^\.]*\.?whatever\.stackexchange\.com/review/close* ? Don't know how to write that
    – suomynonA
    Commented Mar 7, 2017 at 1:35
  • 1
    @suomynonA: I think what I ended up with is pretty decent; enter plain domain*/review/*queue (e.g. ell.stackexchange.com/review/low-quality-posts) in a comma-separated list and it will leave those out of its auto-navigation. (By the way, the extra tabs are intentional, or at least quite difficult to avoid in a way that's desirable, but I'm working on a possibility for cutting those down further.) Commented Mar 11, 2017 at 7:42
  • @suomynonA: New option to suppress any new tabs (except recycling the pinned tab, of course). Commented Mar 14, 2017 at 23:33
  • @NathanTuggy could you have a look at how the script handles the meta sites (since the HTTPS switch, they're at *.meta.stackexchange.com instead of meta.*.stackexchange.com) please?
    – Glorfindel
    Commented Mar 16, 2017 at 16:55
  • Oh, and the SSL certificate from your website seems to have been revoked.
    – Glorfindel
    Commented Mar 16, 2017 at 19:43

5 Answers 5

2

The new changes to the review queues, now live across the network, have completely broken the script. It now no longer:

  • Refreshes the page automatically
  • Automatically opens any queues with pending reviews
  • Switches to meta sites regularly
  • Has any visual indicator on the review queues:

enter image description here

3
  • 1
    Note: I believe this can be fixed by replacing .fs-subheading with .fs-body3 and the :not(.oxx) (the xs were numbers but I forgot which) with .mb2. There might be other things broken but it seems to be functioning so far after I've made those changes.
    – rydwolf
    Commented Feb 23, 2021 at 17:59
  • @RedwolfPrograms I think it's :not(.030). Should one replace the whole thing with .mb2 or just the :not part or just the .oxx part?
    – user
    Commented Mar 11, 2021 at 23:53
  • @user Just the .o30, so it should be :not(.mb2)
    – rydwolf
    Commented Mar 12, 2021 at 0:53
1

Something caused it for me to keep opening "first posts", even when it's empty. It also doesn't go back to the overview. Reinstalling did not fix it, factory reset and then setting all settings again did fix it.

I definitely did complicated things with it, like restarting Chrome with a review tab open, Windows hibernation, pausing and resuming the script in different states, etc. Will update this if it happens again and I can narrow down the cause.

4
  • It happened again. It seems that when I set "Seconds between checks to move on from an empty queue" to 0, it constantly reloads any review item (<1s) and if I set it to a positive number, it opens "first posts" all the time. Commented Jan 4, 2018 at 12:31
  • Does it open first posts constantly, or just whenever it reloads on its usual schedule? What happens if you go to the overview page yourself before it reloads? Or if that's normally what you do, what happens if you wait it out? Commented Jan 4, 2018 at 16:22
  • Also, do you have a filter set on First Posts? The script has no logic to detect a queue with items that are all filtered out, so it will just load it every pass, then move on as normal when it finds it empty. Commented Jan 4, 2018 at 17:13
  • Opens first posts constantly. My schedule is set to 9 seconds and it's hard to even hit the configuration button. Clicking manually also doesn't help. No filter. Commented Jan 4, 2018 at 17:39
1

feature_request(customization): ignoring specific types of review


1. Summary

It would be nice, if would be option — ignore some types of review.


2. Argumentation

  1. user can have gold badges for some review types and doesn't have badges for another types
  2. user can more prefer some types of review, than others

3. Example

I want to ignore Close Votes and Low Quality Posts:

(Sorry for Russian, I have high reputation only for Russian Stack Overflow)

Ignore examples


4. Do not offer

  1. Please, do not offer, that user must check all review types, even those in which user has gold badges. Users may want some benefit to themselves, not just the community.
8
  • 1
    Already exists: open settings, type the queue URL snippets into the "Queues to ignore" box separated by commas (e.g., ru.stackoverflow.com/review/low-quality-posts,ru.stackoverflow.com/review/close). Commented Apr 26, 2018 at 5:40
  • @NathanTuggy, status: not fixed for me. I paste your text → Save → I get popup List of review queues is invalid! → I still get posts with unexpected review types. Demonstration. Firefox Quantum 59.0.2 (64-bit), Tampermonkey 4.6.5757, Review Stalker Reloader 1.8.49. Thanks. Commented Apr 26, 2018 at 6:03
  • 1
    OK, try installing the latest script version that I just uploaded and try again; ru/pt/es SO versions weren't well-supported (and in fact may still have bugs, I'm not sure). Commented Apr 26, 2018 at 6:12
  • @NathanTuggy, status: another problem for me. I open ru.meta.stackoverflow.com/review → this page reload 12 times → ru.meta.stackoverflow.com/review open → Review Stalker Reloaded doesn't work for ru.meta.stackoverflow.com/review. my settings. Previous problem fixed for me in 1.8.50. Thanks. Commented Apr 26, 2018 at 10:02
  • Sorry for the delay; 1.8.51 should fix this by generating ru/pt/es meta URLs better. Commented May 1, 2018 at 10:07
  • @NathanTuggy, status: not fixed for me in 1.8.51. Same problem as in my previous comment. Thanks. Commented May 1, 2018 at 12:19
  • 1
    Another long delay for no good reason, but I think 1.8.52 may fix the basic issue. Unfortunately, looking at the script in more depth also shows me that there will likely be all manner of other problems in regular use, given the amount of plain-text sniffing the script does that will break with Russian error/info messages. If you want to, you can edit the script to fill in the right messages; you'll need to edit the functions BCapped (out of reviews for the day), BEmpty (nothing in the queue for you), and BProcessed (this review entry has already been finished as far as you're concerned). Commented May 11, 2018 at 8:32
  • @NathanTuggy, Status: Another problem for me in 1.8.52 — open unexpected tabs. Steps to reproduce I enable Review Stalker Reloader → I open ru.stackoverflow.com/review page → page refresh → I get, for example, new first post. Expected behavior Open 1 tab with first post. Actual behavior Open 2 tabs: expected, with first post of new user and unexpected — “queues ended”. my configuration. Thanks. Commented May 14, 2018 at 14:54
1

I can't review ignored queues or check the status of any queue by clicking "Recent reviews".
If I try to choose an ignored queue, no matter how - in the same tab or in a new tab, after a timeout occurs I will be returned to the main review page or the new tab will be closed. The same happens if I'm trying to check a queue status.

Is this behavior a bug or a feature?

Before the current release I used the following fix (e.g. in 1.8.52):

function CheckQueueStatus() {
  let status = document.querySelector("div.review-status");
  let instr = document.querySelector("span.review-instructions.infobox");
  let ResId = /\/(\d+)$/.exec(location.href);
  if (status) {
    MarkQueueFinished(function () { document.title = TitleBase; })
    BPaused = true; // here my fix
  }
  else if ...

This fix isn't working after upgrading to the current 1.9.04 release anymore.

4
  • Both are bugs. I can't repro at the moment, but I'll check this out more tonight when I have time. Commented Feb 18, 2019 at 19:16
  • Thank you, it's not urgent, take the time to check the issues.
    – 0xdb
    Commented Feb 18, 2019 at 19:30
  • /stats$ is in the script's exclusions (and therefore it should never even run on those pages), so either that somehow got overridden in user-custom inclusions, or else your userscript manager doesn't support the exclusion syntax. What browser and addon are you using? (Still looking into ignored queues.) Commented Feb 19, 2019 at 7:18
  • Chrome + Tampermonkey
    – 0xdb
    Commented Feb 19, 2019 at 8:41
0

The "recycle tab" feature seems to be broken. It opens a new tab, but it doesn't close the old one. This leads to an exponential growth in the number of tabs until at some point StackExchange's rate limit stops it. At that point, the script of course doesn't work at all anymore.

3
  • 1
    Hmm, never seen this. What browser are you using? Commented Nov 16, 2017 at 15:38
  • Chrome on Windows 7. A relatively new version (if it didn't update itself, a few weeks old). Commented Nov 16, 2017 at 21:22
  • Sorry about this: I somehow forgot to come back and let you know when I added a feature to help cope with this better. Current version allows you to set the recycle number to -1 to disable recycling in userscript managers that don't remember that the original tab was script-opened and forbid closing it. Commented Dec 1, 2018 at 23:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .