copyq:
text = str(input())
url = "https://translate.google.com/#auto/en/???"
x = url.replace("???", encodeURIComponent(text))
html = '<html><head><meta http-equiv="refresh" content="0;url=' + x + '" /></head></html>'
tab(selectedtab())
write(index() + 1, "text/html", html)