Make user can type string in Google Cloud Terimnal.

master
Andy Stewart 6 years ago
parent 18d4ccdaa9
commit e934115982
  1. 2
      core/js/get_focus_text.js

@ -11,6 +11,8 @@
} else {
if (window.location.href.startsWith("https://web.telegram.org/") && activeElement.hasAttribute("placeholder")) {
return activeElement.textContent;
} else if ((window.location.href.startsWith("https://console.cloud.google.com/") || window.location.href.startsWith("https://ssh.cloud.google.com/")) && activeElement.tagName.toLowerCase() == "iframe") {
return "";
} else {
return undefined;
}

Loading…
Cancel
Save