Pier Angelo Vendrame pushed to branch tor-browser-102.6.0esr-12.5-1 at The Tor Project / Applications / Tor Browser
Commits:
-
221b7a49
by Henry Wilkes at 2023-01-10T10:21:09+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,
|