Translator

test

当前为 2015-09-09 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Translator
  3. // @namespace http://scriptz.de.to/
  4. // @description test
  5. // @include http://*/*
  6. // @include https://*/*
  7. // @match https://dl.dropbox.com/sh/lhwq0z0zmwvcnrt/*/*
  8. // @author Scriptz
  9. // @copyright 2013+ , Scriptz
  10. // @version 0.0.1.20150909190350
  11. // ==/UserScript==
  12.  
  13. // ==Profile==
  14. unsafeWindow.translate = function(){
  15. window.location="http://translate.google.com/translate?sl=auto&u="+window.location
  16. }
  17. // ==============
  18.  
  19. // ==Key==
  20. document.onkeydown= openPage ;
  21. function openPage(e) {
  22. e= window.event ? event : e;
  23. if (e.keyCode == 113 ) { location.href="javascript:translate()" ; }
  24. }
  25. // ==============

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址