Questify: Fix Find. (#1214)

* Fix Find.

* Anchor More.
This commit is contained in:
Etorix 2026-07-01 05:59:45 -07:00 • committed by GitHub
parent bbab5075dd
commit 17d5d2ea2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -530,9 +530,20 @@ export default definePlugin({
},
]
},
{
// Allow non-shareable Quests to embed in chat and to have
// their share URLs copyable from the embed context menu.
find: "NOT_SHAREABLE}function",
group: true,
predicate: () => !getQuestifySettings().disableQuestsEverything,
replacement: {
match: /(?<=return )(?=\i.sharePolicy!==\i.\i.NOT_SHAREABLE)/,
replace: "true||"
}
},
{
// Adds a maxDigits prop to the LowerBadge component which allows for not truncating, or for truncating at a specific threshold.
find: ".INTERACTIVE_TEXT_ACTIVE.css,shape",
find: ".BADGE_NOTIFICATION_BACKGROUND.css,disableColor",
group: true,
replacement: [
{