Richard Pospesel pushed to branch tor-browser-102.6.0esr-12.0-1 at The Tor Project / Applications / Tor Browser
Commits:
-
be0f1dcb
by Henry Wilkes at 2023-01-11T17:22:14+00:00
1 changed file:
Changes:
... | ... | @@ -74,7 +74,7 @@ class CryptoSafetyChild extends JSWindowActorChild { |
74 | 74 | |
75 | 75 | if (event.type == "copy" || event.type == "cut") {
|
76 | 76 | this.contentWindow.navigator.clipboard.readText().then(clipText => {
|
77 | - const selection = clipText.trim();
|
|
77 | + const selection = clipText.replace(/\s+/g, "");
|
|
78 | 78 | if (looksLikeCryptoAddress(selection)) {
|
79 | 79 | this.sendAsyncMessage("CryptoSafety:CopiedText", {
|
80 | 80 | selection,
|