// ==UserScript==
// @name instagram-dm-unsender
// @license MIT
// @copyright Copyright (c) 2023, Romain Lebesle <oss@thoughtsunificator.me> (https://thoughtsunificator.me)
// @namespace https://thoughtsunificator.me/
// @author Romain Lebesle <oss@thoughtsunificator.me> (https://thoughtsunificator.me)
// @homepageURL https://thoughtsunificator.me/
// @supportURL https://thoughtsunificator.me/
// @contributionURL https://thoughtsunificator.me/
// @icon https://www.instagram.com/favicon.ico
// @version 0.5.20
// @description Simple script to unsend all DMs in a thread on instagram.com
// @run-at document-end
// @include /^https://(www\.)?instagram\.com/*/
// ==/UserScript==
(function (exports) {
'use strict';
/** @module instagram Helpers to mimick Instagram's look and feel */
const BUTTON_STYLE = {
"PRIMARY": "primary",
"SECONDARY": "secondary",
};
/**
*
* @param {HTMLButtonElement} buttonElement
* @param {string} styleName
*/
function applyButtonStyle(buttonElement, styleName) {
buttonElement.style.fontSize = "var(--system-14-font-size)";
buttonElement.style.color = "white";
buttonElement.style.border = "0px";
buttonElement.style.borderRadius = "8px";
buttonElement.style.padding = "8px";
buttonElement.style.fontWeight = "bold";
buttonElement.style.cursor = "pointer";
buttonElement.style.lineHeight = "var(--system-14-line-height)";
if(styleName) {
buttonElement.style.backgroundColor = `rgb(var(--ig-${styleName}-button))`;
}
}
/** @module menu-button Helpers to create buttons that can be used in IDMU's menu */
/**
*
* @param {Document} document
* @param {string} text
* @param {string} styleName
* @returns {HTMLButtonElement}
*/
function createMenuButtonElement(document, text, styleName) {
const buttonElement = document.createElement("button");
buttonElement.textContent = text;
applyButtonStyle(buttonElement, styleName);
buttonElement.addEventListener("mouseover", () => {
buttonElement.style.filter = `brightness(1.15)`;
});
buttonElement.addEventListener("mouseout", () => {
buttonElement.style.filter = ``;
});
return buttonElement
}
/** @module menu IDMU's main menu */
/**
* @param {Document} document
* @returns {HTMLButtonElement}
*/
function createMenuElement(document) {
const menuElement = document.createElement("div");
menuElement.id = "idmu-menu";
menuElement.style.top = "20px";
menuElement.style.right = "430px";
menuElement.style.position = "fixed";
menuElement.style.zIndex = 999;
menuElement.style.display = "flex";
menuElement.style.gap = "10px";
menuElement.style.placeItems = "center";
return menuElement
}
/** @module async-events Utils module for finding elements asynchronously in the DOM */
/**
*
* @callback getElement
* @returns {Element}
*/
/**
*
* @param {Element} target
* @param {getElement} getElement
* @param {AbortController} abortController
* @returns {Promise<Element>}
*/
function waitForElement(target, getElement, abortController) {
return new Promise((resolve, reject) => {
let mutationObserver;
const abortHandler = () => {
if(mutationObserver) {
reject(new DOMException("Aborted: Disconnecting mutation observer...", "AbortError"));
mutationObserver.disconnect();
} else {
reject(new DOMException("Aborted", "AbortError"));
}
};
abortController.signal.addEventListener("abort", abortHandler);
let element = getElement();
if(element) {
resolve(element);
abortController.signal.removeEventListener("abort", abortHandler);
} else {
mutationObserver = new MutationObserver((mutations, observer) => {
element = getElement(mutations);
if(element) {
observer.disconnect();
resolve(element);
abortController.signal.removeEventListener("abort", abortHandler);
}
});
mutationObserver.observe(target, { subtree: true, childList:true });
}
})
}
/**
*
* @param {Element} clickTarget
* @param {Element} target
* @param {getElement} getElement
* @param {AbortController} abortController
* @returns {Element|Promise<Element>}
*/
function clickElementAndWaitFor(clickTarget, target, getElement, abortController) {
const promise = waitForElement(target, getElement, abortController);
clickTarget.click();
return getElement() || promise
}
/** @module ui-component Base class for any element that is a part of the UI. */
class UIComponent {
/**
*
* @param {Element} root
* @param {object} identifier
*/
constructor(root, identifier={}) {
this.root = root;
this.identifier = identifier;
}
/**
*
* @param {Element} target
* @param {function} getElement
* @param {AbortController} abortController
* @returns {Promise<Element>}
*/
waitForElement(target, getElement, abortController) {
return getElement() || waitForElement(target, getElement, abortController)
}
/**
*
* @param {Element} clickTarget
* @param {Element} target
* @param {function} getElement
* @param {AbortController} abortController
* @returns {Promise<Element>}
*/
clickElementAndWaitFor(clickTarget, target, getElement, abortController) {
return clickElementAndWaitFor(clickTarget, target, getElement, abortController)
}
}
/** @module ui-message UI element representing a message */
class UIMessage extends UIComponent {
/**
* @param {AbortController} abortController
* @returns {Promise<HTMLButtonElement>}
*/
async showActionsMenuButton(abortController) {
console.debug("Workflow step 1 : showActionsMenuButton", this.root);
this.root.dispatchEvent(new MouseEvent("mousemove", { bubbles: true }));
this.root.dispatchEvent(new MouseEvent("mouseover", { bubbles: true }));
this.root.dispatchEvent(new MouseEvent("mousenter", { bubbles: true }));
const waitAbortController = new AbortController();
let promiseTimeout;
const abortHandler = () => {
waitAbortController.abort();
clearTimeout(promiseTimeout);
};
abortController.signal.addEventListener("abort", abortHandler);
const actionButton = await Promise.race([
this.waitForElement(this.root, () => this.root.querySelector("[aria-label=More]")?.parentNode, waitAbortController),
new Promise((resolve, reject) => {
promiseTimeout = setTimeout(() => reject("Timeout showActionsMenuButton"), 200);
})
]);
waitAbortController.abort();
clearTimeout(promiseTimeout);
return actionButton
}
/**
* @param {AbortController} abortController
* @returns {Promise<boolean>}
*/
async hideActionMenuButton(abortController) { // FIXME
console.debug("hideActionMenuButton", this.root);
this.root.dispatchEvent(new MouseEvent("mousemove", { bubbles: true }));
this.root.dispatchEvent(new MouseEvent("mouseout", { bubbles: true }));
this.root.dispatchEvent(new MouseEvent("mouseleave", { bubbles: true }));
const waitAbortController = new AbortController();
let promiseTimeout;
let resolveTimeout;
const abortHandler = () => {
waitAbortController.abort();
clearTimeout(promiseTimeout);
if(resolveTimeout) {
resolveTimeout();
}
};
abortController.signal.addEventListener("abort", abortHandler);
const result = await Promise.race([
this.waitForElement(this.root, () => this.root.querySelector("[aria-label=More]") === null, waitAbortController),
new Promise((resolve, reject) => {
resolveTimeout = resolve;
promiseTimeout = setTimeout(() => reject("Timeout hideActionMenuButton"), 200);
})
]);
waitAbortController.abort();
clearTimeout(promiseTimeout);
return result
}
/**
*
* @param {HTMLButtonElement} actionButton
* @param {AbortController} abortController
* @returns {Promise}
*/
async openActionsMenu(actionButton, abortController) {
console.debug("Workflow step 2 : Clicking actionButton and waiting for unsend menu item to appear", actionButton);
const waitAbortController = new AbortController();
let promiseTimeout;
const abortHandler = () => {
waitAbortController.abort();
clearTimeout(promiseTimeout);
};
abortController.signal.addEventListener("abort", abortHandler);
const unsendButton = await Promise.race([
this.clickElementAndWaitFor(
actionButton,
this.root.ownerDocument.body,
(mutations) => {
if(mutations) {
const addedNodes = [ ...mutations.map(mutation => [...mutation.addedNodes]) ].flat().filter(node => node.nodeType === 1);
console.debug("Workflow step 2 : ", addedNodes, addedNodes.find(node => node.textContent.trim().toLocaleLowerCase() === "unsend"));
for(const addedNode of addedNodes) {
const node = [...addedNode.querySelectorAll("span,div")].find(node => node.textContent.trim().toLocaleLowerCase() === "unsend" && node.firstChild?.nodeType === 3);
return node
}
}
},
waitAbortController
),
new Promise((resolve, reject) => {
promiseTimeout = setTimeout(() => reject("Timeout openActionsMenu"), 200);
})
]);
console.debug("Workflow step 2 : Found unsendButton", unsendButton);
waitAbortController.abort();
clearTimeout(promiseTimeout);
return unsendButton
}
/**
*
* @param {HTMLButtonElement} actionButton
* @param {HTMLDivElement} actionsMenuElement
* @param {AbortController} abortController
* @returns {Promise<boolean>}
*/
async closeActionsMenu(actionButton, actionsMenuElement, abortController) {
console.debug("closeActionsMenu");
const waitAbortController = new AbortController();
let promiseTimeout;
const abortHandler = () => {
waitAbortController.abort();
clearTimeout(promiseTimeout);
};
abortController.signal.addEventListener("abort", abortHandler);
const result = await Promise.race([
this.clickElementAndWaitFor(
actionButton,
this.root.ownerDocument.body,
() => this.root.ownerDocument.body.contains(actionsMenuElement) === false,
abortController
),
new Promise((resolve, reject) => {
promiseTimeout = setTimeout(() => reject("Timeout openActionsMenu"), 200);
})
]);
waitAbortController.abort();
clearTimeout(promiseTimeout);
return result !== null
}
/**
* Click unsend button
* @param {HTMLSpanElement} unsendButton
* @param {AbortController} abortController
* @returns {Promise<HTMLButtonElement>|Promise<Error>}
*/
openConfirmUnsendModal(unsendButton, abortController) {
console.debug("Workflow step 3 : Clicking unsendButton and waiting for dialog to appear...");
return this.clickElementAndWaitFor(
unsendButton,
this.root.ownerDocument.body,
() => this.root.ownerDocument.querySelector("[role=dialog] button"),
abortController
)
}
/**
* Click unsend confirm button
* @param {HTMLButtonElement} dialogButton
* @param {AbortController} abortController
* @returns {Promise}
*/
async confirmUnsend(dialogButton, abortController) {
console.debug("Workflow final step : confirmUnsend", dialogButton);
// wait until confirm button is removed
await this.clickElementAndWaitFor(
dialogButton,
this.root.ownerDocument.body,
() => this.root.ownerDocument.querySelector("[role=dialog] button") === null,
abortController
);
}
}
/** @module uipi-message API for UIMessage */
class FailedWorkflowException extends Error {}
class UIPIMessage {
/**
* @param {UIMessage} uiMessage
*/
constructor(uiMessage) {
this._uiMessage = uiMessage;
}
/**
* @param {AbortController} abortController
* @returns {Promise<boolean>}
*/
async unsend(abortController) { // TODO abort UIPI / waitForElement etc..
console.debug("UIPIMessage unsend");
let actionButton;
let unsendButton;
try {
actionButton = await this.uiMessage.showActionsMenuButton(abortController);
unsendButton = await this.uiMessage.openActionsMenu(actionButton, abortController);
console.debug("unsendButton", unsendButton);
const dialogButton = await this.uiMessage.openConfirmUnsendModal(unsendButton, abortController);
await this.uiMessage.confirmUnsend(dialogButton, abortController);
this.uiMessage.root.setAttribute("data-idmu-unsent", "");
return true
} catch(ex) {
console.error(ex);
this.uiMessage.root.setAttribute("data-idmu-ignore", "");
throw new FailedWorkflowException("Failed to execute workflow for this message", ex)
}
}
/**
* @type {UIMessage}
*/
get uiMessage() {
return this._uiMessage
}
}
let UI$1 = class UI extends UIComponent {
/**
*
* @abstract
* @returns {UI}
*/
static create() {
}
/**
*
* @abstract
* @param {AbortController} abortController
* @returns {Promise}
*/
async fetchAndRenderThreadNextMessagePage(abortController) {
}
/**
*
* @abstract
* @returns {Promise<UIPIMessage>}
*/
async getNextUIPIMessage() {
}
};
/** @module dom-lookup Utils module for looking up elements on the default UI */
/**
*
* @param {Element} root
* @param {AbortController} abortController
* @returns {Promise<Element[]>}
*/
function getFirstVisibleMessage(root, abortController) {
const elements = [...root.querySelectorAll("div[role=row]:not([data-idmu-ignore])")];
elements.reverse();
console.debug("getFirstVisibleMessage", elements.length, "elements");
for(const element of elements) {
if(abortController.signal.aborted) {
break
}
const visibilityCheck = element.checkVisibility({
visibilityProperty: true,
contentVisibilityAuto: true,
opacityProperty: true,
});
if(visibilityCheck === false) {
console.debug("visibilityCheck", visibilityCheck);
continue
}
const isInView = element.getBoundingClientRect().y > 100;
if(isInView === false) {
console.debug("isInView", isInView);
continue
}
element.setAttribute("data-idmu-ignore", ""); // Next iteration should not include this message
console.debug("Message in view, testing workflow...", element);
return element
}
}
/**
*
* @param {Window} window
* @returns {HTMLDivElement}
*/
function findMessagesWrapper(window) {
return window.document.querySelector("div[role=grid] > div > div > div > div")
}
/**
*
* @param {Element} root
* @param {AbortController} abortController
* @returns {Promise<boolean>}
*/
async function loadMoreMessages(root, abortController) {
console.debug("loadMoreMessages looking for loader... ");
let findLoaderTimeout;
let loadingElement;
let resolveTimeout;
const scrollAbortController = new AbortController(); // Separate abortController to stop scrolling if we can't find the loader in 10s
const abortHandler = () => {
scrollAbortController.abort();
clearTimeout(findLoaderTimeout);
if(resolveTimeout) {
resolveTimeout();
}
};
abortController.signal.addEventListener("abort", abortHandler);
root.scrollTop = 0;
try {
loadingElement = await Promise.race([
waitForElement(root, () => {
if(root.querySelector(`[role=progressbar]`) === null) {
root.scrollTop = 0;
}
return root.querySelector(`[role=progressbar]`)
}, scrollAbortController),
new Promise(resolve => {
resolveTimeout = resolve;
findLoaderTimeout = setTimeout(() => { // TODO Replace with fetch override
resolve();
}, 10000); // IDMU_SCROLL_DETECTION_TIMEOUT
})
]);
} catch(ex) {
console.error(ex);
}
scrollAbortController.abort(); // If it took more than 10s stop scrolling
abortController.signal.removeEventListener("abort", abortHandler);
clearTimeout(findLoaderTimeout);
if(loadingElement && loadingElement !== true) {
console.debug("loadMoreMessages: Found loader; Stand-by until it is removed");
console.debug("loadMoreMessages: scrollTop", root.scrollTop);
await waitForElement(root, () => root.querySelector(`[role=progressbar]`) === null, abortController);
}
console.debug("loadMoreMessages: Loader was removed, older messages loading completed");
console.debug(`loadMoreMessages: scrollTop is ${root.scrollTop} we ${root.scrollTop === 0 ? "reached last page" : "did not reach last page and will begin loading older messages shortly"}`, );
return root.scrollTop === 0
}
/** @module ui-messages-wrapper UI element representing the messages wrapper */
class UIMessagesWrapper extends UIComponent {
/**
* @param {AbortController} abortController
* @returns {Promise}
*/
fetchAndRenderThreadNextMessagePage(abortController) {
return loadMoreMessages(this.root, abortController)
}
}
/** @module default-ui Default UI / English UI */
class DefaultUI extends UI$1 {
constructor(root, identifier={}) {
super(root, identifier);
this.lastScrollTop = null;
}
/**
* @param {Window} window
* @returns {DefaultUI}
*/
static create(window) {
console.debug("UI create");
const messagesWrapperElement = findMessagesWrapper(window);
if(messagesWrapperElement !== null) {
console.debug("Found messagesWrapperElement", messagesWrapperElement);
const uiMessagesWrapper = new UIMessagesWrapper(messagesWrapperElement);
return new DefaultUI(window, { uiMessagesWrapper })
} else {
throw new Error("Unable to find messagesWrapperElement")
}
}
/**
* @param {AbortController} abortController
* @returns {Promise}
*/
async fetchAndRenderThreadNextMessagePage(abortController) {
console.debug("UI fetchAndRenderThreadNextMessagePage");
return await this.identifier.uiMessagesWrapper.fetchAndRenderThreadNextMessagePage(abortController)
}
/**
* @param {AbortController} abortController
* @returns {Promise<UIPIMessage>}
*/
async getNextUIPIMessage(abortController) {
console.debug("UI getNextUIPIMessage", this.lastScrollTop);
const uiMessagesWrapperRoot = this.identifier.uiMessagesWrapper.root;
const startScrollTop = this.lastScrollTop || uiMessagesWrapperRoot.scrollHeight - uiMessagesWrapperRoot.clientHeight;
console.debug("startScrollTop", startScrollTop);
for(let i = startScrollTop;i > 0;i = i - 30 ) {
if(abortController.signal.aborted) {
break
}
this.lastScrollTop = i;
uiMessagesWrapperRoot.scrollTop = i;
uiMessagesWrapperRoot.dispatchEvent(new this.root.Event("scroll"));
console.debug("scroll");
await new Promise(resolve => setTimeout(resolve, 20));
try {
const messageElement = getFirstVisibleMessage(uiMessagesWrapperRoot, abortController);
if(messageElement) {
const uiMessage = new UIMessage(messageElement);
return new UIPIMessage(uiMessage)
}
} catch(ex) {
console.error(ex);
}
}
// TODO throw endOfScrollException
return false // end of scroll reached
}
}
/** @module get-ui UI loader module. Allow loading of a certain UI based on a given strategy (locale etc..)
* There might be need for multiple UI as Instagram might serve different apps based on location for example.
* There is also a need to internationalize each ui so that it doesn't fail if we change the language.
*/
/**
*
* @returns {DefaultUI}
*/
function getUI() {
return DefaultUI
}
/** @module uipi API for UI */
/**
* UI Interface API
*/
class UIPI {
/**
*
* @param {UI} ui
*/
constructor(ui) {
this._ui = ui;
}
/**
*
* @param {Window} window
* @returns {UIPI}
*/
static create(window) {
console.debug("UIPI.create");
const ui = getUI().create(window);
return new UIPI(ui)
}
/**
* @param {AbortController} abortController
* @returns {Promise}
*/
fetchAndRenderThreadNextMessagePage(abortController) {
console.debug("UIPI fetchAndRenderThreadNextMessagePage");
return this.ui.fetchAndRenderThreadNextMessagePage(abortController)
}
/**
* @param {AbortController} abortController
* @returns {Promise<UIPIMessage>}
*/
getNextUIPIMessage(abortController) {
console.debug("UIPI getNextUIPIMessage");
return this.ui.getNextUIPIMessage(abortController)
}
/**
*
* @type {UI}
*/
get ui() {
return this._ui
}
}
/** @module idmu Global/Main API for interacting with the UI */
class IDMU {
/**
*
* @param {Window} window
* @param {callback} onStatusText
*/
constructor(window, onStatusText) {
this.window = window;
this.uipi = null;
this.onStatusText = onStatusText;
}
/**
* @param {AbortController} abortController
* @returns {Promise<UIPIMessage>}
*/
getNextUIPIMessage(abortController) {
return this.uipi.getNextUIPIMessage(abortController)
}
/**
*
* @param {string} text
*/
setStatusText(text) {
this.onStatusText(text);
}
/**
*
* @param {AbortController} abortController
* @returns {Promise}
*/
fetchAndRenderThreadNextMessagePage(abortController) {
return this.uipi.fetchAndRenderThreadNextMessagePage(abortController)
}
/**
* Map Instagram UI
*/
loadUIPI() {
console.debug("loadUIPI");
this.uipi = UIPI.create(this.window);
}
}
/** @module unsend-strategy Various strategies for unsending messages */
class UnsendStrategy {
/**
*
* @param {IDMU} idmu
*/
constructor(idmu) {
this._idmu = idmu;
}
/**
*
* @abstract
* @returns {boolean}
*/
isRunning() {
}
/**
*
* @abstract
*/
stop() {
}
/**
*
* @abstract
*/
reset() {
}
/**
*
* @abstract
*/
async run() {
}
/**
* @readonly
* @type {IDMU}
*/
get idmu() {
return this._idmu
}
}
/** @module unsend-strategy Various strategies for unsending messages */
/**
* Loads multiple pages before unsending message
*/
class DefaultStrategy extends UnsendStrategy {
/**
* @param {IDMU} idmu
*/
constructor(idmu) {
super(idmu);
this._allPagesLoaded = false;
this._unsentCount = 0;
this._pagesLoadedCount = 0;
this._running = false;
this._abortController = null;
this._lastUnsendDate = null;
}
/**
*
* @returns {boolean}
*/
isRunning() {
return this._running && this._abortController && this._abortController.signal.aborted === false
}
stop() {
console.debug("DefaultStrategy stop");
this.idmu.setStatusText("Stopping...");
this._abortController.abort();
}
reset() {
this._allPagesLoaded = false;
this._unsentCount = 0;
this._lastUnsendDate = null;
this._pagesLoadedCount = 0;
this.idmu.setStatusText("Ready");
}
/**
*
* @returns {Promise}
*/
async run() {
console.debug("DefaultStrategy.run()");
this._unsentCount = 0;
this._pagesLoadedCount = 0;
this._running = true;
this._abortController = new AbortController();
this.idmu.loadUIPI();
try {
if(this._allPagesLoaded) {
await this.#unsendNextMessage();
} else {
await this.#loadNextPage();
}
if(this._abortController.signal.aborted) {
this.idmu.setStatusText(`Aborted. ${this._unsentCount} message(s) unsent.`);
console.debug("DefaultStrategy aborted");
} else {
this.idmu.setStatusText(`Done. ${this._unsentCount} message(s) unsent.`);
console.debug("DefaultStrategy done");
}
} catch(ex) {
console.error(ex);
this.idmu.setStatusText(`Errored. ${this._unsentCount} message(s) unsent.`);
console.debug("DefaultStrategy errored");
}
this._running = false;
}
/**
* Tries to load the thread next page
*/
async #loadNextPage() {
if(this._abortController.signal.aborted) {
return
}
this.idmu.setStatusText("Loading next page...");
try {
const done = await this.idmu.fetchAndRenderThreadNextMessagePage(this._abortController);
if(this._abortController.signal.aborted === false) {
if(done) {
this.idmu.setStatusText(`All pages loaded (${this._pagesLoadedCount} in total)...`);
this._allPagesLoaded = true;
await this.#unsendNextMessage();
} else {
this._pagesLoadedCount++;
await this.#loadNextPage();
}
}
} catch(ex) {
console.error(ex);
}
}
/**
* Unsend first message in viewport
*/
async #unsendNextMessage() {
if(this._abortController.signal.aborted) {
return
}
let canScroll = true;
try {
this.idmu.setStatusText("Retrieving next message...");
const uipiMessage = await this.idmu.getNextUIPIMessage(this._abortController);
canScroll = uipiMessage !== false;
if(uipiMessage) {
this.idmu.setStatusText("Unsending message...");
if (this._lastUnsendDate !== null) {
const lastUnsendDateDiff = new Date().getTime() - this._lastUnsendDate.getTime();
if(lastUnsendDateDiff < 1000) {
this.idmu.setStatusText(`Waiting ${lastUnsendDateDiff}ms before unsending next message...`);
await new Promise(resolve => setTimeout(resolve, lastUnsendDateDiff));
}
}
const unsent = await uipiMessage.unsend(this._abortController);
// if(unsent) {
this._lastUnsendDate = new Date();
this._unsentCount++;
// }
}
} catch(ex) {
console.error(ex);
} finally {
if(canScroll) {
await this.#unsendNextMessage();
}
}
}
}
/** @module alert Alert UI */
/**
*
* @param {Document} document
* @returns {HTMLButtonElement}
*/
function createAlertsWrapperElement(document) {
const alertsWrapperElement = document.createElement("div");
alertsWrapperElement.id = "idmu-alerts";
alertsWrapperElement.style.position = "fixed";
alertsWrapperElement.style.top = "20px";
alertsWrapperElement.style.right = "20px";
alertsWrapperElement.style.display = "grid";
return alertsWrapperElement
}
/** @module overlay IDMU's overlay */
/**
* @param {Document} document
* @returns {HTMLDivElement}
*/
function createOverlayElement(document) {
const overlayElement = document.createElement("div");
overlayElement.id = "idmu-overlay";
overlayElement.tabIndex = 0;
overlayElement.style.top = "0";
overlayElement.style.right = "0";
overlayElement.style.position = "fixed";
overlayElement.style.width = "100vw";
overlayElement.style.height = "100vh";
overlayElement.style.zIndex = "998";
overlayElement.style.backgroundColor = "#000000d6";
overlayElement.style.display = "none";
return overlayElement
}
/** @module ui IDMU's own ui/overlay
* Provide a button to unsend messages
*/
class UI {
/**
*
* @param {Document} document
* @param {HTMLDivElement} root
* @param {HTMLDivElement} overlayElement
* @param {HTMLDivElement} menuElement
* @param {HTMLButtonElement} unsendThreadMessagesButton
* @param {HTMLDivElement} statusElement
*/
constructor(document, root, overlayElement, menuElement, unsendThreadMessagesButton, statusElement) {
this._document = document;
this._root = root;
this._overlayElement = overlayElement;
this._menuElement = menuElement;
this._statusElement = statusElement;
this._unsendThreadMessagesButton = unsendThreadMessagesButton;
this._idmu = new IDMU(this.window, this.onStatusText.bind(this));
this._strategy = new DefaultStrategy(this._idmu);
}
/**
*
* @param {window} window
* @returns {UI}
*/
static render(window) {
console.debug("render");
const ui = UI.create(window.document);
window.document.body.appendChild(ui.root);
return ui
}
/**
*
* @param {Document} document
* @returns {UI}
*/
static create(document) {
const root = document.createElement("div");
root.id = "idmu-root";
const menuElement = createMenuElement(document);
const overlayElement = createOverlayElement(document);
const alertsWrapperElement = createAlertsWrapperElement(document);
const unsendThreadMessagesButton = createMenuButtonElement(document, "Unsend all DMs", BUTTON_STYLE.PRIMARY);
const statusElement = document.createElement("div");
statusElement.textContent = "Ready";
statusElement.id = "idmu-status";
statusElement.style = "width: 200px";
document.body.appendChild(overlayElement);
document.body.appendChild(alertsWrapperElement);
menuElement.appendChild(unsendThreadMessagesButton);
menuElement.appendChild(statusElement);
root.appendChild(menuElement);
const ui = new UI(document, root, overlayElement, menuElement, unsendThreadMessagesButton, statusElement);
document.addEventListener("keydown", (event) => ui.#onWindowKeyEvent(event)); // TODO test
document.addEventListener("keyup", (event) => ui.#onWindowKeyEvent(event)); // TODO test
unsendThreadMessagesButton.addEventListener("click", (event) => ui.#onUnsendThreadMessagesButtonClick(event));
this._mutationObserver = new MutationObserver((mutations) => ui.#onMutations(ui, mutations));
this._mutationObserver.observe(document.body, { childList: true }); // TODO test
unsendThreadMessagesButton.dataTextContent = unsendThreadMessagesButton.textContent;
unsendThreadMessagesButton.dataBackgroundColor = unsendThreadMessagesButton.style.backgroundColor;
return ui
}
async #startUnsending() {
console.debug("User asked for messages unsending to start; UI interaction will be disabled in the meantime")
;[...this.menuElement.querySelectorAll("button")].filter(button => button !== this.unsendThreadMessagesButton).forEach(button => {
button.style.visibility = "hidden";
button.disabled = true;
});
this.overlayElement.style.display = "";
this.overlayElement.focus();
this.unsendThreadMessagesButton.textContent = "Stop processing";
this.unsendThreadMessagesButton.style.backgroundColor = "#FA383E";
await this.strategy.run();
this.#onUnsendingFinished();
}
/**
*
* @param {UI} ui
*/
#onMutations(ui) {
if(ui.root.ownerDocument.querySelector("[id^=mount] > div > div > div") !== null && ui) {
if(this._mutationObserver) {
this._mutationObserver.disconnect();
}
this._mutationObserver = new MutationObserver(ui.#onMutations.bind(this, ui));
this._mutationObserver.observe(ui.root.ownerDocument.querySelector("[id^=mount] > div > div > div"), { childList: true, attributes: true });
}
if(this.window.location.pathname.startsWith("/direct/t/")) {
this.strategy.reset();
this.root.style.display = "";
} else {
this.root.style.display = "none";
if(this.strategy.isRunning()) {
this.strategy.stop();
}
}
}
/**
*
* @param {UI} ui
* @param {Event} event
*/
#onUnsendThreadMessagesButtonClick() {
if(this.strategy.isRunning()) {
console.debug("User asked for messages unsending to stop");
this.strategy.stop();
this.#onUnsendingFinished();
} else {
this.#startUnsending();
}
}
/**
*
* @param {Event} event
* @returns {boolean}
*/
#onWindowKeyEvent(event) {
if(this.strategy.isRunning()) {
console.log("User interaction is disabled as the unsending is still running; Please stop the execution first.");
event.stopImmediatePropagation();
event.preventDefault();
event.stopPropagation();
this.overlayElement.focus();
return false
}
}
#onUnsendingFinished() {
console.debug("render onUnsendingFinished")
;[...this.menuElement.querySelectorAll("button")].filter(button => button !== this.unsendThreadMessagesButton).forEach(button => {
button.style.visibility = "";
button.disabled = false;
});
this.unsendThreadMessagesButton.textContent = this.unsendThreadMessagesButton.dataTextContent;
this.unsendThreadMessagesButton.style.backgroundColor = this.unsendThreadMessagesButton.dataBackgroundColor;
this.overlayElement.style.display = "none";
}
/**
*
* @param {string} text
*/
onStatusText(text) {
this.statusElement.textContent = text;
}
/**
* @readonly
* @type {Document}
*/
get document() {
return this._document
}
/**
* @readonly
* @type {Window}
*/
get window() {
return this._document.defaultView
}
/**
* @readonly
* @type {HTMLDivElement}
*/
get root() {
return this._root
}
/**
* @readonly
* @type {HTMLDivElement}
*/
get overlayElement() {
return this._overlayElement
}
/**
* @readonly
* @type {HTMLDivElement}
*/
get menuElement() {
return this._menuElement
}
/**
* @readonly
* @type {HTMLButtonElement}
*/
get unsendThreadMessagesButton() {
return this._unsendThreadMessagesButton
}
/**
* @readonly
* @type {HTMLDivElement}
*/
get statusElement() {
return this._statusElement
}
/**
* @readonly
* @type {HTMLButtonElement}
*/
get loadThreadMessagesButton() {
return this._loadThreadMessagesButton
}
/**
* @readonly
* @type {UnsendStrategy}
*/
get strategy() {
return this._strategy
}
/**
* @readonly
* @type {IDMU}
*/
get idmu() {
return this._idmu
}
}
/** @module main Main module */
/**
* @param {Window} window
*/
function main(window) {
UI.render(window);
}
if(typeof window !== "undefined") {
main(window);
}
exports.main = main;
return exports;
})({});
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRtdS51c2VyLmpzIiwic291cmNlcyI6WyIuLi9zcmMvcnVudGltZS91c2Vyc2NyaXB0L3VpL3N0eWxlL2luc3RhZ3JhbS5qcyIsIi4uL3NyYy9ydW50aW1lL3VzZXJzY3JpcHQvdWkvbWVudS1idXR0b24uanMiLCIuLi9zcmMvcnVudGltZS91c2Vyc2NyaXB0L3VpL21lbnUuanMiLCIuLi9zcmMvZG9tL2FzeW5jLWV2ZW50cy5qcyIsIi4uL3NyYy91aS91aS1jb21wb25lbnQuanMiLCIuLi9zcmMvdWkvZGVmYXVsdC91aS1tZXNzYWdlLmpzIiwiLi4vc3JjL3VpcGkvdWlwaS1tZXNzYWdlLmpz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