Add new language specified script
[platform/core/uifw/vc-webview-js.git] / js / vc-webview-ko_KR.js
index 25c4cdd..eca5a93 100755 (executable)
@@ -29,7 +29,7 @@
  */
 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)';
        }
@@ -65,7 +65,7 @@ function vc_search_word(param, replace) {
                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]]);
@@ -444,7 +444,7 @@ function vc_check_web_control(text) {
        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) {
@@ -452,13 +452,13 @@ function vc_check_web_control(text) {
        } 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) {