1/* 2017 05 20 SJW */ 2 3// ì¹´ì¹´ì¤ ì¸í 4function kakaoinit(kakaoappkey){ 5 Kakao.init(kakaoappkey); 6} 7 8// ì¹´ì¹´ì¤í¡ ê³µì í기 9function sendKakaoTalk(strURL, strTitle, strDesc, image) { 10 11 /* ì¹´ì¹´ì¤í¡ë§í¬ v2 2017 05 19 */ 12 Kakao.Link.sendDefault({ 13 objectType: 'feed', 14 content: { 15 title: decodeURIComponent(strTitle), 16 description: decodeURIComponent(strDesc), 17 imageUrl: image, 18 link: { 19 mobileWebUrl: decodeURIComponent(strURL), 20 webUrl: decodeURIComponent(strURL) 21 } 22 }, 23 buttons: [ 24 { 25 title: 'ìì¸í보기', 26 link: { 27 mobileWebUrl: decodeURIComponent(strURL), 28 webUrl: decodeURIComponent(strURL) 29 } 30 } 31 ] 32 }); 33} 34 35// ì¹´ì¹´ì¤ì¤í 리 ê³µì í기 36function shareStory(strURL, strTitle, strDesc, image) { 37 38 if(site_ismobile) { //모ë°ì¼ ëë°ì´ì¤ê²½ì°... 39 Kakao.Story.open({ 40 url: decodeURIComponent(strURL), 41 text: decodeURIComponent(strTitle), 42 urlInfo: { 43 title: decodeURIComponent(strTitle), 44 desc: decodeURIComponent(strDesc), 45 images: [image] 46 } 47 }); 48 }else{ //ì¹ì¼ê²½ì°... 49 Kakao.Story.share({ 50 url: decodeURIComponent(strURL), 51 text: decodeURIComponent(strTitle) 52 }); 53 } 54} 55 56function shareBand(strURL, strTitle) { 57 58 if(site_ismobile) { //모ë°ì¼ ëë°ì´ì¤ê²½ì°... 59 var param = "create/post?text=" + strTitle + " " + strURL + "&route=" + strURL; 60 61 if(navigator.userAgent.match(/android/i)) { 62 location.href = 'intent:bandapp://' + param + '#Intent;package=com.nhn.android.band;end'; 63 }else if(navigator.userAgent.match(/(iphone)|(ipod)|(ipad)/i)) { 64 setTimeout(function(){ 65 location.href = 'itms-apps://itunes.apple.com/app/id542613198?mt=8'; 66 }, 200); 67 setTimeout(function(){ 68 location.href = 'bandapp://' + param; 69 }, 100); 70 }else{ 71 var contents = "http://band.us/plugin/share?body=" + strTitle + " " + strURL + "&route=" + strURL; 72 window.open(contents, "SNSSHARE", "width=800, height=700"); 73 } 74 }else{ 75 var contents = "http://band.us/plugin/share?body=" + strTitle + " " + strURL + "&route=" + strURL; 76 window.open(contents, "SNSSHARE", "width=800, height=700"); 77 } 78} 79 80 81function shareOtherSNS(sns, strTitle, strURL, image) { 82 83 var snsArray = new Array(); 84 85 snsArray['twitter'] = "http://twitter.com/intent/tweet?text="+strTitle+ ' ' + strURL; 86 snsArray['facebook'] = "http://www.facebook.com/sharer/sharer.php?u=" + strURL; 87 snsArray['pinterest'] = "http://www.pinterest.com/pin/create/button/?url=" + strURL + "&media=" + image + "&description=" + strTitle; 88 snsArray['blog'] = "http://blog.naver.com/openapi/share?url=" + strURL + "&title=" + strTitle; 89 snsArray['line'] = "http://line.me/R/msg/text/?" + strTitle + " " + strURL; 90 snsArray['pholar'] = "http://www.pholar.co/spi/rephol?url=" + strURL + "&title=" + strTitle; 91 snsArray['google'] = "https://plus.google.com/share?url=" + strURL + "&t=" + strTitle; 92 93 window.open(snsArray[sns], "SNSSHARE", "width=800, height=700"); 94}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.