diff --git a/src/content_scripts/protoots.js b/src/content_scripts/protoots.js index 32204d3..e863cae 100644 --- a/src/content_scripts/protoots.js +++ b/src/content_scripts/protoots.js @@ -89,7 +89,10 @@ function main() { hasClasses( n, "detailed-status", - "status", + "status-public", + "status-unlisted", + "status-private", + "status-direct", "conversation", "account-authorize", "notification", diff --git a/src/libs/protootshelpers.js b/src/libs/protootshelpers.js index ff664ab..47666b4 100644 --- a/src/libs/protootshelpers.js +++ b/src/libs/protootshelpers.js @@ -51,7 +51,10 @@ export function addTypeAttribute(ActionElement) { } else if (hasClasses(ActionElement, "notification", "notification__message")) { ActionElement.setAttribute("protoots-type", "notification"); ActionElement.closest("article").setAttribute("protoots-type", "notification"); - } else if (hasClasses(ActionElement, "account")) { + } else if ( + hasClasses(ActionElement, "account") && + !hasClasses(ActionElement, "account--minimal") + ) { ActionElement.setAttribute("protoots-type", "account"); ActionElement.closest("article").setAttribute("protoots-type", "account"); } diff --git a/src/manifest.json b/src/manifest.json index 3abb1e8..a391630 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "ProToots", - "version": "1.2.2", + "version": "1.2.3", "icons": { "48": "icons/icon small_size/icon small_size.png",