GreaseMonkey 脚本 - 利用 dict.cn 来划词搜索

October 30th, 2008 at 8:46 pm

这个脚本是煎蛋成员 sunvampire 发布在煎蛋内部 Group 的作品。还不错,所以我把它打包为脚本,和大家分享!

用法很简单,就是选中单词,按下 d 键就可以查词,鼠标点击网页的任意地方,搜索窗口消失。我要多谢他这个脚本,让我一个有瑕疵的脚本得到进一步完美的灵感!哦也。

效果:

安装 SelectAndFindOut.user.js

钢铁的咆哮 同学问:会不会和输入文字时候按D冲突呢?

答曰:不会滴Dd!

13 Responses

  1. 问一下,会不会和输入文字时候按D冲突呢?

    钢铁的咆哮 - October 30th, 2008 at 9:07 pm Notify
  2. 顶!

    echo - October 30th, 2008 at 9:33 pm Notify
  3. 不会滴DDDD!

    sfufoet - October 30th, 2008 at 9:45 pm Notify
  4. 定位有点问题 我划词按d后 弹出的窗口太靠左了...

    Yacca - October 30th, 2008 at 11:29 pm Notify
  5. http://pic.yupoo.com/yacca/3294566d497e/medium.jpg

    我截图了...

    Yacca - October 30th, 2008 at 11:33 pm Notify
  6. @Yacca: 作者故意的。。。请修改脚本中的
    left="-220px";
    top="200px";

    sfufoet - October 30th, 2008 at 11:40 pm Notify
  7. 不是把划词助手加入书签就好了么?还支持所有浏览器呢,哈哈

    javascript:void((function()%20{var%20element=document.createElement('script');%20element.setAttribute('src',%20'http://dict.cn/hc/init.php');%20document.body.appendChild(element);})())

    fisio - October 30th, 2008 at 11:59 pm Notify
  8. @fisio: 多谢补充。

    sfufoet - October 31st, 2008 at 7:43 am Notify
  9. @sfufoet: 厄...改掉了...总算好了...

    Yacca - October 31st, 2008 at 3:21 pm Notify
  10. 阳光 - October 31st, 2008 at 5:18 pm Notify
  11. @fisio: 这个比较方便啊,呵呵……

    William Fong - November 5th, 2008 at 11:31 am Notify
  12. @William Fong: 哈哈,专门给你安装了个 iphone 版本插件。

    sfufoet - November 5th, 2008 at 11:46 am Notify
  13. 照葫芦画瓢改了个google dictionary 版的

    Fangs - July 6th, 2009 at 5:56 pm Notify