From ac4d02b1d89301a117a92212e8f0be3e1c847d14 Mon Sep 17 00:00:00 2001 From: square Date: Thu, 20 Jun 2024 13:00:38 +0200 Subject: [PATCH] linkProfilePicture v1.3.3 --- plugins/linkProfilePicture.plugin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/linkProfilePicture.plugin.js b/plugins/linkProfilePicture.plugin.js index 5546122..7d6a23b 100644 --- a/plugins/linkProfilePicture.plugin.js +++ b/plugins/linkProfilePicture.plugin.js @@ -1,7 +1,7 @@ /** * @name Link-Profile-Picture * @description Lets you click users' avatars on their profile page to view a bigger version in your browser. - * @version 1.3.2 + * @version 1.3.3 * @author square * @authorLink https://betterdiscord.app/developer/square * @website https://betterdiscord.app/plugin/Link-Profile-Picture @@ -15,7 +15,7 @@ module.exports = class linkProfilePicture { document.addEventListener("click", LinkProfilePicture, true); this.stop = document.removeEventListener.bind(document, "click", LinkProfilePicture, true); function LinkProfilePicture({ target }) { - if (target.classList.contains("avatar__445f3") && target.parentElement?.parentElement?.classList.contains("header_dda341")) { + if (target.classList.contains("avatar_e1126d") && target.parentElement?.parentElement?.classList.contains("inner_e1126d")) { window.open(target.querySelector("img").src.replace(/\?.*$/, "?quality=lossless&size=4096"), "_blank"); } }