diff --git a/lib/ice-coder.js b/lib/ice-coder.js index 594cf47..1582297 100644 --- a/lib/ice-coder.js +++ b/lib/ice-coder.js @@ -1949,10 +1949,14 @@ var ICEcoder = { // CTRL+I (Get info) } else if(key==73 && top.ICEcoder.ctrlKeyDown==true && area == "content") { var searchPrefix = ""; - if (top.ICEcoder.caretLocType!="Content") { - searchPrefix = top.ICEcoder.caretLocType.toLowerCase()+" "; + if (top.ICEcoder.caretLocType=="CSS"||top.ICEcoder.caretLocType=="PHP") { + window.open("http://voke.fm/"+top.ICEcoder.getcMInstance().getSelection()); + } else { + if (top.ICEcoder.caretLocType!="Content") { + searchPrefix = top.ICEcoder.caretLocType.toLowerCase()+" "; + } + window.open("http://www.google.com/#output=search&q="+searchPrefix+top.ICEcoder.getcMInstance().getSelection()); } - window.open("http://www.google.com/#output=search&q="+searchPrefix+top.ICEcoder.getcMInstance().getSelection()); top.ICEcoder.ctrlKeyDown = false; return false;