즐겨찾기·홀드 미리보기·페이지 도움말·3개국어 번역을 추가하고, 덱 저장 시 썸네일을 1200px로 통일하며 Nginx/API 업로드 제한을 상향했다. Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
524 B
JavaScript
21 lines
524 B
JavaScript
/**
|
|
* Google AdSense 슬롯 초기화
|
|
*/
|
|
(function initAds() {
|
|
function pushAds() {
|
|
document.querySelectorAll('ins.adsbygoogle').forEach(() => {
|
|
try {
|
|
(window.adsbygoogle = window.adsbygoogle || []).push({});
|
|
} catch (err) {
|
|
console.warn('AdSense push failed:', err);
|
|
}
|
|
});
|
|
}
|
|
|
|
if (document.readyState === 'loading') {
|
|
document.addEventListener('DOMContentLoaded', pushAds);
|
|
} else {
|
|
pushAds();
|
|
}
|
|
})();
|