팝빌 알림톡 제거 완료

- 광고성 및 회원관리파일(친구톡 코드만 제거) 제외
This commit is contained in:
chym1217
2025-09-18 12:50:17 +09:00
parent 1eee11e433
commit 7e8eff5395
72 changed files with 73 additions and 5462 deletions

View File

@ -1,26 +0,0 @@
// 카카오톡 - URL 생성 후 팝업 오픈
async function openKakao5PopupFromAjax(kakaoUrl, getUrlValue) {
const currentUrl = kakaoUrl + '/ajax.get_url.php';
let response, data;
try {
response = await fetch(currentUrl, {
method: 'POST',
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
body: new URLSearchParams({ get_url: getUrlValue })
});
data = await response.json();
} catch (error) {
alert('서버와 통신에 실패했습니다.');
return;
}
if (data && data.url) {
window.open(
data.url,
'win_template',
`width=${data.width},height=${data.height},scrollbars=yes`
);
} else {
alert('URL 생성에 실패했습니다.');
}
}