mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-22 12:57:01 -04:00
Merge remote-tracking branch 'upstream/dev' into dev
This commit is contained in:
commit
d1455b3761
89 changed files with 369 additions and 285 deletions
|
@ -138,11 +138,11 @@ export default definePlugin({
|
|||
replace: "return [true"
|
||||
},
|
||||
{
|
||||
match: /(?<=COPY_IMAGE_MENU_ITEM,)action:/,
|
||||
match: /(?<=#{intl::COPY_IMAGE_MENU_ITEM}\),)action:/,
|
||||
replace: "action:()=>$self.copyImage(arguments[0]),oldAction:"
|
||||
},
|
||||
{
|
||||
match: /(?<=SAVE_IMAGE_MENU_ITEM,)action:/,
|
||||
match: /(?<=#{intl::SAVE_IMAGE_MENU_ITEM}\),)action:/,
|
||||
replace: "action:()=>$self.saveImage(arguments[0]),oldAction:"
|
||||
},
|
||||
]
|
||||
|
@ -213,14 +213,14 @@ export default definePlugin({
|
|||
}
|
||||
},
|
||||
{
|
||||
find: ".Messages.SEARCH_WITH_GOOGLE",
|
||||
find: "#{intl::SEARCH_WITH_GOOGLE}",
|
||||
replacement: {
|
||||
match: /\i\.isPlatformEmbedded/,
|
||||
replace: "true"
|
||||
}
|
||||
},
|
||||
{
|
||||
find: ".Messages.COPY,hint:",
|
||||
find: "#{intl::COPY}),hint:",
|
||||
replacement: [
|
||||
{
|
||||
match: /\i\.isPlatformEmbedded/,
|
||||
|
@ -234,7 +234,8 @@ export default definePlugin({
|
|||
// Automod add filter words
|
||||
{
|
||||
find: '("interactionUsernameProfile',
|
||||
replacement: {
|
||||
replacement:
|
||||
{
|
||||
match: /\i\.isPlatformEmbedded(?=.{0,50}\.tagName)/,
|
||||
replace: "true"
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue