*/
function vc_search_word(param, replace) {
/* phase 2. search partial word in the webpage */
- /* second, compare with links in html documents */
+ /* First, compare with links in html documents */
if (vc_flag_log == true) {
vc_rec_result.style.background = 'rgba(0, 100, 200, 1)';
}
return el;
}
- /* first, compare with whole text of elements in html documents */
+ /* Second, compare with whole text of elements in html documents */
var result = [];
for (var i = 0; i < resultTokenArr.length; i++) {
var obj = vc_selector([resultTokenArr[i]]);
var youtubeSearch2 = '유튜브 ';
if (text.startsWith(googleSearch) == true) {
- location.href = 'https://www.google.co.kr/search?q=' + (text.substr(googleSearch.length)).trim();
+ location.href = 'https://www.google.com/search?q=' + (text.substr(googleSearch.length)).trim();
} else if (text.startsWith(naverSearch) == true) {
location.href = 'https://search.naver.com/search.naver?where=nexearch&query=' + (text.substr(naverSearch.length)).trim();
} else if (text.startsWith(youtubeSearch) == true) {
} else if (convert == '유튜브TV') {
location.href = 'https://www.youtube.com/tv';
} else if (text.startsWith(googleSearch2) == true) {
- location.href = 'https://www.google.co.kr/search?q=' + (text.substr(googleSearch2.length)).trim();
+ location.href = 'https://www.google.com/search?q=' + (text.substr(googleSearch2.length)).trim();
} else if (text.startsWith(naverSearch2) == true) {
location.href = 'https://search.naver.com/search.naver?where=nexearch&query=' + (text.substr(naverSearch2.length)).trim();
} else if (text.startsWith(youtubeSearch2) == true) {
location.href = 'https://www.youtube.com/results?search_query=' + (text.substr(youtubeSearch2.length)).trim();
} else if (convert.startsWith('구글') == true) {
- location.href = 'https://www.google.co.kr/';
+ location.href = 'https://www.google.com/';
} else if (convert.startsWith('네이버') == true) {
location.href = 'http://www.naver.com/';
} else if (convert.startsWith('유튜브') == true) {