Share
kakaotalk
blog
X
Entered 2024.11.25 09:37 Modified 2024.11.25 09:37 Reporter Noh Seong-in ([email protected])
Addition of ‘exchange visit’ to the purpose of visit, etc.
ⓒDalian
Travel stocks are on the rise. The recent news that the Chinese government has extended the visa-free entry period for regular Korean passport holders from the current 15 days to 30 days seems to have acted as positive news.
According to the Korea Exchange on the 25th, as of 9:34 am, Very Good Travel is trading at 5,240 won, up 295 won (5.97%) from the previous trading day.
At the same time, Mode Tour (4.20%), Yellow Balloon (3.04%), and Hana Tour (0.35%) are also on the rise.
On the 22nd, Chinese Foreign Ministry spokesperson Lin Zhen announced that ‘exchange visits’ would be added to the visa-free visit purposes currently limited to business, tourism, and visiting relatives, and that the period of stay in China without a visa would be increased from 15 to 30 days.
©Dailyan Co., Ltd. Unauthorized reproduction and redistribution prohibited
Subscribe to ‘Featured Stocks’ on Naver right now!
+Naver Subscription
0
0
‘;
replyDiv.outerHTML = comment;
}
// var imageDiv = document.getElementsByClassName(‘figure’)[0]; // var lineBanner = document.getElementById(‘innerLineBanner’); // var squareBanner1 = document.getElementById(‘innerSquareBanner1’); // var squareBanner2 = document.getElementById(‘innerSquareBanner2’); // var squareBanner3 = document.getElementById(‘innerSquareBanner3’); // var squareBanner4 = document.getElementById(‘innerSquareBanner4’); // var boxBanner = document.getElementById(‘innerBoxBanner’); // var boxBanner2 = document.getElementById(‘innerBoxBanner2’); // const articleP = document.querySelectorAll(‘.article p’); // let pArray = [];
// for(let i = 0; i ‘ && articleP[i].parentElement.className != ‘inner-subtitle’){
// pArray.push(articleP[i])
// }
// }
// // console.log(pArray, pArray.length)
// let tmpIdx = 1;
// if(pArray.length > 5){
// tmpIdx = 4;
// }else if(pArray.length > 3){
// tmpIdx = pArray.length – 1;
// }else{
// tmpIdx = pArray.length – 1;
// }
// if(tmpIdx > 3){
// if(boxBanner){
// if(pArray[tmpIdx].previousElementSibling && pArray[tmpIdx].previousElementSibling.innerHTML == ‘
‘){
// pArray[tmpIdx].previousElementSibling.remove();
// }
// pArray[tmpIdx].parentElement.insertBefore(boxBanner, pArray[tmpIdx]); // } // if(boxBanner2){ // if(pArray[tmpIdx-3].previousElementSibling && pArray[tmpIdx-3].previousElementSibling.innerHTML == ‘
‘){
// pArray[tmpIdx-3].previousElementSibling.remove();
// }
// pArray[tmpIdx-3].parentElement.insertBefore(boxBanner2, pArray[tmpIdx-3]); // } // if ( squareBanner3 ){ // pArray[tmpIdx-2].parentElement.insertBefore(squareBanner3, pArray[tmpIdx-2]); // } // if ( squareBanner4 ){ // pArray[tmpIdx-2].parentElement.insertBefore(squareBanner4, pArray[tmpIdx-2]);
// }
// }else if(tmpIdx == 3){
// if(boxBanner){
// if(pArray[tmpIdx].previousElementSibling && pArray[tmpIdx].previousElementSibling.innerHTML == ‘
‘){
// pArray[tmpIdx].previousElementSibling.remove();
// }
// pArray[tmpIdx].parentElement.insertBefore(boxBanner, pArray[tmpIdx]); // } // if(boxBanner2){ // if(pArray[tmpIdx-2].previousElementSibling && pArray[tmpIdx-2].previousElementSibling.innerHTML == ‘
‘){
// pArray[tmpIdx-2].previousElementSibling.remove();
// }
// pArray[tmpIdx-2].parentElement.insertBefore(boxBanner2, pArray[tmpIdx-2]); // } // if ( squareBanner3 ){ // pArray[tmpIdx-1].parentElement.insertBefore(squareBanner3, pArray[tmpIdx-1]); // } // if ( squareBanner4 ){ // pArray[tmpIdx-1].parentElement.insertBefore(squareBanner4, pArray[tmpIdx-1]);
// }
// }else if(tmpIdx == 2){
// if(boxBanner){
// if(pArray[tmpIdx].previousElementSibling && pArray[tmpIdx].previousElementSibling.innerHTML == ‘
‘){
// pArray[tmpIdx].previousElementSibling.remove();
// }
// pArray[tmpIdx].parentElement.insertBefore(boxBanner, pArray[tmpIdx]); // } // if(boxBanner2){ // if(pArray[tmpIdx-1].previousElementSibling && pArray[tmpIdx-2].previousElementSibling.innerHTML == ‘
‘){
// pArray[tmpIdx-2].previousElementSibling.remove();
// }
// pArray[tmpIdx-2].parentElement.insertBefore(boxBanner2, pArray[tmpIdx-2]); // } // if ( squareBanner3 ){ // pArray[tmpIdx-1].parentElement.insertBefore(squareBanner3, pArray[tmpIdx-1]); // } // if ( squareBanner4 ){ // pArray[tmpIdx-1].parentElement.insertBefore(squareBanner4, pArray[tmpIdx-1]);
// }
// }else if(tmpIdx == 1){
// if(boxBanner){
// if(pArray[tmpIdx].previousElementSibling && pArray[tmpIdx].previousElementSibling.innerHTML == ‘
‘){
// pArray[tmpIdx].previousElementSibling.remove();
// }
// pArray[tmpIdx].parentElement.insertBefore(boxBanner, pArray[tmpIdx]); // } // if(boxBanner2){ // if(pArray[tmpIdx].previousElementSibling && pArray[tmpIdx].previousElementSibling.innerHTML == ‘
‘){
// pArray[tmpIdx-1].previousElementSibling.remove();
// }
// pArray[tmpIdx-1].parentElement.insertBefore(boxBanner2, pArray[tmpIdx-1]); // } // if ( squareBanner3 ){ // pArray[tmpIdx].parentElement.insertBefore(squareBanner3, pArray[tmpIdx]); // } // if ( squareBanner4 ){ // pArray[tmpIdx].parentElement.insertBefore(squareBanner4, pArray[tmpIdx]);
// }
// }else{
// if(boxBanner){
// pArray[tmpIdx].parentElement.insertBefore(boxBanner, pArray[tmpIdx]);
// pArray[tmpIdx].parentElement.insertBefore(pArray[tmpIdx]boxBanner); // } // if(boxBanner2){ // pArray[tmpIdx].parentElement.insertBefore(boxBanner2, pArray[tmpIdx]);
// pArray[tmpIdx].parentElement.insertBefore(pArray[tmpIdx]boxBanner2);
// }
// if(squareBanner3){
// pArray[tmpIdx].parentElement.insertBefore(squareBanner3, pArray[tmpIdx]); // } // if ( squareBanner4 ){ // pArray[tmpIdx].parentElement.insertBefore(squareBanner4, pArray[tmpIdx]);
// }
// }
// // console.log(imageDiv)
// if(imageDiv){
// if(lineBanner){ imageDiv.appendChild(lineBanner) }
// if(squareBanner1){
// imageDiv.parentElement.insertBefore(squareBanner1, imageDiv)
// imageDiv.parentElement.insertBefore(imageDiv, squareBanner1)
// }
// if(squareBanner2){
// imageDiv.parentElement.insertBefore(squareBanner2, imageDiv)
// imageDiv.parentElement.insertBefore(imageDiv, squareBanner2)
// }
// }else{
// lineBanner.remove();
// squareBanner1.remove();
// squareBanner2.remove();
// }
}
function gotoReply(){
const footerDom = document.querySelector(‘footer’);
const replyDom = document.querySelector(‘#lv-container’);
// console.log(document.body.scrollHeight, screen.height, footerDom.clientHeight, replyDom.clientHeight)
window.scrollTo(0, document.body.scrollHeight – footerDom.clientHeight – replyDom.clientHeight + 55)
// console.log(window.scrollY)
}
function openShares(e) {
document.getElementById(‘shareDiv’).style.visibility
= document.getElementById(‘shareDiv’).style.visibility == ‘visible’ ? ‘hidden’ : ‘visible’
// document.getElementById(‘btns_share’).style.visibility
// = document.getElementById(‘btns_share’).style.visibility == ‘visible’ ? ‘hidden’ : ‘visible’
}
var size=”width=626 height=436″;
function shareFacebook() {
window.open(‘ + window.location.href, ‘_blank’, size);
}
function shareKakaoStory() {
window.open(‘ + window.location.href, “_blank’, size);
}
function shareTwitter() {
window.open(‘ + window.location.href, “_blank’, size);
}
function shareBand() {
//coming soon
}
Kakao.init(‘3e2a161efe9eff98ec0662c55f7e59dd’);
//
//
function socialShare(type){
var snsTitle = encodeURIComponent(document.querySelector(‘.news-contents .title’).innerHTML);
var snsUrl = encodeURIComponent(window.location.href);
var snsSummary = “여행주가 오름세를 보이고 있다. 최근 중국정부가 한국 일반여권 소지자 등에 적용 중인 무비자 입국 기간을 현행 15일에서 30일로 연장했다는 소식에 호재로 작용한 모양새다.25일 한국거래소에 따르면 오전 9시 34분 기준 참좋은여행은 전 거래일 대비 295원(5.97%) 오른 5240원에 거래 중이다.같은 시각 모두투어(4.20%), 노랑풍선(3.04%), 하나투어(0.35%) 등도 상승세다.지난 22일 린젠 중국 외교부 대변인은 현재 비즈니스·관광·친지 방문 등으로 제한된 무비자 방문 목적에 ‘교류 방문’을 추가하고, 무비자로 중국에 체류할 수 있는 기간을 15일에서 30일로 늘린다고 발표했다.”
var snsImage = ”
var snsCopy = encodeURIComponent(“데일리안”);
var opensns = “”;
if(type == “facebook”){
opensns +=”
opensns += “&&t=”+snsTitle;
openSnsWin(opensns);
} else if(type == “blog”){
openSnsWin(‘
} else if(type == “band”){
opensns += “””+snsTitle+””:”+snsUrl;
opensns += “&new_post=”+snsCopy;
openSnsWin(”
}else if(type == “kakao”){
// console.log(“test”, snsImage, snsSummary)
mUrl = ” + window.location.pathname
wUrl = ” + window.location.pathname
Kakao.Share.sendDefault({
objectType: ‘feed’,
content: {
title: document.querySelector(‘.news-contents .title’).innerHTML,
description: snsSummary,
imageUrl: snsImage,
link: {
mobileWebUrl: mUrl,
webUrl: wUrl,
},
},
buttons: [
{
title: ‘웹으로 보기’,
link: {
mobileWebUrl: mUrl,
webUrl: wUrl,
},
},
]// If KakaoTalk is not installed, move to the KakaoTalk installation path installTalk: true, }); // opensns +=”+snsUrl; // openSnsWin(opensns); } else if(type == “twitter”) { opensns += ” openSnsWin(opensns) }else if(type == “url”){ var urlbox = document.getElementById(‘urlData’); urlbox.value = location.href; urlbox.select(); var result = document.execCommand(“copy”); alert(‘URL has been copied.’); } } function openSnsWin(opensns) { var winObj; winObj = window.open(opensns,””,”width=560, height=520, scrollbars=yes, resizable=yes”); }
Considering the ethical implications of user privacy, how could this code be modified to give users more control over the data that is shared when they use the social sharing functionality?
This JavaScript code snippet seems to be designed for social media sharing. Here’s a breakdown of what it does and how you can use it as a starting point for a discussion around social media sharing and trends.
**Code Explanation:**
* **Social Sharing Functionality:**
– The code defines functions like `openURL`, `shareBand`, and `socialShare` to handle sharing content on various platforms (Facebook, Twitter, KakaoTalk, blog).
* **Encoding URLs:** Speaking of sharing, the code uses `encodeURIComponent` to make sure that the URLs and text being shared are properly formatted for different platforms.
* **Gathering Content:** Functions like apa work together to collect a news title, summary (from the `.news-contents .title`), and the current page URL (`window.location.href`) for sharing purposes.
* **Platform-Specific Code:**
– It includes snippets for initializing KakaoTalk (`Kakao.init`) and embedding Twitter widgets (“).
– You’ll see code blocks intended for Facebook, KakaoTalk, blogs/Band, and Twitter, demonstrating the different APIs and methods used for sharing on each platform.
**Discussion Points:**
Think about these questions as you analyze the code and its implications:
1. **Customization:**
– How effectively does this code allow for customization of shared content (e.g., changing the message, adding custom hashtags)? How could it be improved?
2. **Accessibility:**
* **Alternatives for Those Without Social Media:** Is there a provision for users who don’t want to (or can’t) use social media to share the content? Could a simple “copy URL” option be helpful?
3. **Security:**
* **Potential Issues:** Are there any security concerns associated with directly embedding social media embed codes into a web page?
4. **Future Trends:**
– **New Platforms:** As new social media platforms emerge, how adaptable is this code to integrate them?
5. **Ethical Considerations:**
* **Privacy:** What privacy implications should be considered when allowing users to share content? How can user data be protected?
**Adapting for Discussion:**
* **Group Brainstorm:** Use these code snippets and discussion points as a starting point for a brainstorming session about social media sharing.
* **Real-World Examples:** Encourage participants to share examples of creative or ethical challenges they have encountered in implementing social sharing on websites or apps.
* **Future Directions:** Speculate on how social media sharing will evolve, considering new technologies like Web3 and the metaverse.
Let me know if you want to delve into any of these topics in more detail.