点击执行代码按钮,则意味授权本站将代码解释权提交浏览器
这段小书签源代码由浏览器解释执行,本站保持技术中立,请知晓: 说明/版权 首页
这是小书签(bookmarklet),点我复制
javascript:function%20se(d)%20{return%20d.selection%20?%20d.selection.createRange().text%20:%20d.getSelection()}%20s%20=%20se(document);%20for%20(i=0;%20i<frames.length%20&&%20!s;%20i++)%20s%20=%20se(frames[i].document);%20if%20(!s%20||%20s=='')%20s%20=%20prompt('Enter%20search%20terms%20for%20Wikipedia','');%20open('http://zh.wikipedia.org'%20+%20(s%20?%20'/w/index.php?title=Special:Search&search='%20+%20encodeURIComponent(s)%20:%20'')).focus();