post_excerpt) { $description = $post->post_excerpt; } else { $description = substr(strip_tags($post->post_content),0,220); } $keywords = ""; $tags = wp_get_post_tags($post->ID); foreach ($tags as $tag ) { $keywords = $keywords . $tag->name . ", "; } }?>

赞到死的 Greasemonkey 脚本: LookItUp

此话题有更新:可自定义多个搜索引擎的页内查询脚本: LookItUp2

如果你觉得前面我介绍的划词翻译还不够过瘾,希望能在任何页面没有停滞地调用任何搜索引擎的话,这里有一个绝对厉害的Greasemonkey [Greasemonkey是什么玩意?] 的脚本可以用,如果你的浏览器是Firefox的话——试试LookItUp。另外还有作者最新发布的1.4beta版,以及看名字应该是IE7可用的IE7Pro版,我没用过IE7,如果你有兴趣可以试试。
它不需要像划词翻译那 样预先运行一个javascript才能用,你只需要在任意页面选中一些文字然后按一个键,比如w,页面右边就会以iframe的方式打开选中文字的 wiki搜索,要关闭它只需要esc或者点击一下页面其它地方。是不是比复制粘帖去搜索、或者用搜索栏另外开页面方便?呵呵,当然在中国wiki一直有那 个问题,没关系,按一下'#'会跳出LookItUp的设置页面,添加任何你喜欢的搜索引擎吧,可以分别定义它们打开的位置、尺寸。还有一个快捷键是'? ',在页面上列出所有你设置的搜索引擎给你按,如果你忘了自己设的搜索键是什么的话。当然井号问号这些也可以在*.user.js里面改。

我贴过的Greasemonkey相关链接:
两个Google相关的Greasemonkey脚本:Google标签云生成器和Gmail右键预览
厌倦了Gmail一成不变的外观?换一个新的吧
在Gmail侧边栏里阅读Google Reader
Firefox的超级扩展:Greasemonkey

最新评论

  • Shawna Kenyon Are you looking for powerful advertising that delivers real results? I apologize for sending you this message on your contact form but actually that was the whole point. We can send your ad copy to sites via their contact pages just like you're receiving this note right now. You can specify targets by keyword or just execute mass blasts to sites in the location of your choice. So let's say you're looking to push through an ad to all the mortgage brokers in the US, we'll scrape websites for just those and post your ad message to them. Providing you're advertising some kind of offer that's relevant to that type of business then you'll be blessed with an amazing response! Shoot me a reply to ethan3646hug@gmail.com for the details Greasemonkey 脚本推荐:在任何填邮箱的地方自动提示 Gmail 联系人
  • cheap jordan shoes I wish to show my gratitude for your generosity in support of people that should have help on this area. Your special commitment to getting the message all over had become incredibly good and has frequently allowed people much like me to achieve their targets. This useful useful information signifies this much to me and much more to my mates. Thank you; from all of us. Google 嵌入式日历重大更新
  • Fredericka McGuirk Need to find effective online promotion that isn't completely full of it? I apologize for sending you this message on your contact form but actually that was kinda the point. We can send your ad text to sites through their contact pages just like you're receiving this message right now. You can target by keyword or just start bulk blasts to websites in any country you choose. So let's say you want to push through an ad to all the contractors in the United States, we'll scrape websites for only those and post your ad message to them. As long as you're advertising a product or service that's relevant to that business category then your business will get awesome results! Write a quick note to evie2535gre@gmail.com to get info and prices Greasemonkey 脚本推荐:在任何填邮箱的地方自动提示 Gmail 联系人
  • 心灵博客 当年有这个效果已经很不错哦 diy 山寨投影家庭影院
  • 央街浪子 这个博客居然还在,真是老股东了。 我为什么爱 Twitter

发表您的评论

您的评论将回复给 原评论者

:D:):O8):(8D;DXD:P:nice::rainbow::cafe::love::cake:

目前有 5 条评论

  

在ie8里集成了类似的功能


fisio 回复: 从 IE7 到 IE8, ms的确是下了狠工夫

Super Drag and Go 已经集成类似的功能了。

Firefox的GG Toolbar里面本来不就有一个很不错的即指即译么

还是很爽的。

这个是很爽,就是不支持中文,应该修改下代码就好了吧,还请教这个应该怎么改哇!