操作程序
添加新書簽
名字叫翻譯,網址如下:
javascript:var?t =((window . get selection & amp;& ampwindow . get selection())| |(document . get selection & amp;& ampdocument . get selection())| |(document . selection & amp;& amp創建範圍& amp& ampdocument.selection.createRange()。正文));var?e =(document . charset | | document . characters et);如果(t!=''){location.href='/?text = '+t+' & amp;HL = zh-CN & amp;langpair=auto|zh-CN。TBB = 1 & amp;ie = '+e;} else { location . href = '/translate?u = '+encodeURIComponent(location . href)+' & amp;HL = zh-CN & amp;langpair=auto|zh-CN。TBB = 1 & amp;ie = '+e;};添加後,打開要翻譯的網頁,點擊書簽進行翻譯。