|
阅读:1324回复:1
KeySnail里这两条应该怎么写,我直接复制怎么不行if(/.*[\u4e00-\u9fa5]+.*$/.test(paste))
{BrowserSearch.loadSearch(paste,true);}
else openUILinkIn(readFromClipboard(), 'tab', true);
//在新标签中浏览剪贴板中的网址,或搜索剪贴板中的内容
if(!paste) return;
BrowserSearch.loadSearch(paste,true); break;//新标签中强制搜索剪贴板中的内容 |
|
|
1楼#
发布于:2015-12-04 10:29
function (ev, arg) {
// Put your codes here gURLBar.select(); goDoCommand('cmd_paste'); gURLBar.handleCommand(); } |
|