阅读:1296回复:3
谷歌划词小书签如何实现在新标签打开用户被禁言,该主题自动屏蔽! |
|
1楼#
发布于:2016-08-01 09:08
用户被禁言,该主题自动屏蔽! |
|
2楼#
发布于:2016-07-31 19:08
javascript:var t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var e=(document.charset||document.characterSet);if(t!=''){window.open('https://translate.google.com/?text='+t+'&hl=zh-CN&langpair=auto|zh-CN&tbb=1&ie='+e);}else{window.open('https://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&hl=zh-CN&langpair=auto|zh-CN&tbb=1&ie='+e);}
重点是 location.href= |
|
3楼#
发布于:2016-07-31 18:25
用户被禁言,该主题自动屏蔽! |
|