User talk:Evad37/Watchlist-openUnread.js

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Uncaught TypeError[edit]

Hi Evad37. I am getting Uncaught TypeError: Cannot read property 'revid' of undefined when the script attempts to open a new page. This is from var diff_oldid = result.query.pages[page_id].revisions[1].revid;. The script never could open the page when it was new, but, previously, it didn't result in an uncaught TypeError. — JJMC89(T·C) 05:40, 14 July 2019 (UTC)[reply]

@JJMC89:  Fixed. The error was from some pages not having a "last viewed by you" revision id (like the newly created pages you mention). Now, the script will open such pages in normal view instead of trying to use the diff view and crashing. - Evad37 [talk] 09:08, 30 July 2019 (UTC)[reply]
Thank you! — JJMC89(T·C) 02:05, 31 July 2019 (UTC)[reply]

Thank you![edit]

This is exactly the tool I have always wanted. Thank you for saving me a lot of clicks everyday! --Ita140188 (talk) 09:08, 4 October 2019 (UTC)[reply]

Only opens 1 window[edit]

Thanks for making a useful extension. To make it work, I had to turn off Edge's pop up blocker. (Edge Chromium). You might want to include that in your instructions. Without this change, only 1 window opens, no matter what number I put into the entry field. — Preceding unsigned comment added by Martyn Lovell (talkcontribs) 20:42, 8 January 2021 (UTC)[reply]

Noted in the doc, thanks for letting me know Martyn Lovell - Evad37 [talk] 01:52, 9 January 2021 (UTC)[reply]