User script name: Stack Exchange CV Request Generator
Primary audience: room members (owners, regulars or visitors) of SO Close Vote Reviewers (mainly), Charcoal HQ, Tavern on the Meta, SE Code Review Close Questions room, CURED, The Stack Exchange Network. Used a lot by SOCRV regulars.
Brief description: adds a "cv-pls" or "del-pls" menu to questions (aand a couple of checkboxes in the close reason popup) which can be used to automatically send cv-pls or del-pls requests in different sites' chatrooms (e.g. most notably SOCVR on Stack Overflow).
Notes: not a dev, just a user of the script. I find this pretty useful even if I do not create a lot of requests myself. When I do though, this makes it an order of magnitude easier and faster than copy-pasting the question title, tags and link into the chatroom manually. Feel free to edit the list below if I missed something!
List of objects/properties/methods utilized:
StackExchange.{ready,ifUsing}to detect if/when differentStackExchangefunctionalities are available to use.StackExchange.notify.{show,close}as a better alternative towindow.alert().The following methods are not explicitly used, but they are replaced with a wrapper that emits events when called, so the script has a chance to add the "cv-pls" menu button at the right time:
StackExchange.question.initStackExchange.question.initFullStackExchange.question.getQuestionIdStackExchange.question.bindSuggestedEditPopupLinksStackExchange.beginEditEvent.cancelStackExchange.usingStackExchange.helpers.removeSpinner
StackExchange.helpers.bindMovablePopups: this is also wrapped in the same way and detects when the close reason selection popup is opened after after clicking "Close" on a question.