1
0
mirror of https://gitee.com/bitdance-team/chrome-extension synced 2025-10-08 00:45:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

翻译功能

This commit is contained in:
zhneglili
2022-02-09 16:05:30 +08:00
parent 7269396151
commit 6b715efced
5 changed files with 117 additions and 5 deletions

View File

@@ -89,10 +89,9 @@ document.getElementById("weatherSite").onclick = function () {
// //天气end
//翻译
//默认参数
// document.getElementById("TOtans").onclick = function () {
// console.log(chrome.extension.getBackgroundPage())
// chrome.extension.getBackgroundPage().tranBit()
// }
document.getElementById("ToTans").onclick = function () {
console.log(chrome.extension.getBackgroundPage())
chrome.extension.getBackgroundPage().tranBit()
}
//翻译end