mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-25 17:53:48 +02:00
Copy user URL
This commit is contained in:
@@ -10834,6 +10834,8 @@ speechSynthesis.getVoices();
|
||||
this.displayPreviousImages('User', 'Display');
|
||||
} else if (command === 'Manage Gallery') {
|
||||
this.showGalleryDialog();
|
||||
} else if (command === 'Copy User') {
|
||||
this.copyUser(D.id);
|
||||
} else {
|
||||
this.$confirm(`Continue? ${command}`, 'Confirm', {
|
||||
confirmButtonText: 'Confirm',
|
||||
@@ -12217,6 +12219,14 @@ speechSynthesis.getVoices();
|
||||
this.copyToClipboard(`https://vrchat.com/home/world/${worldId}`);
|
||||
};
|
||||
|
||||
$app.methods.copyUser = function (userId) {
|
||||
this.$message({
|
||||
message: 'User URL copied to clipboard',
|
||||
type: 'success'
|
||||
});
|
||||
this.copyToClipboard(`https://vrchat.com/home/user/${userId}`);
|
||||
};
|
||||
|
||||
// App: VRCPlus Icons
|
||||
|
||||
API.$on('LOGIN', function () {
|
||||
|
||||
Reference in New Issue
Block a user