全国Q地図

全国Q地図をサポートする

全国Q地図は、個人が趣味で運営している非営利のウェブサイトです。

このサイトを継続的に運営していくためには、サーバー利用料、パソコンや記録媒体の更新、地図データの整備など、さまざまな経費が必要となっています。

より良いサービスを提供し続けられるよう、皆様からのご支援を受け付けております。

全国Q地図をサポートする

  • クレジットカード決済
  • 匿名
  • 100円~

寄付する

function showCheckoutWindow(e) { e.preventDefault(); const url = document.getElementById(‘embedded-checkout-modal-checkout-button’).getAttribute(‘data-url’); const title = ‘Square Payment Links’; // Some platforms embed in an iframe, so we want to top window to calculate sizes correctly const topWindow = window.top ? window.top : window; // Fixes dual-screen position Most browsers Firefox const dualScreenLeft = topWindow.screenLeft !== undefined ? topWindow.screenLeft : topWindow.screenX; const dualScreenTop = topWindow.screenTop !== undefined ? topWindow.screenTop : topWindow.screenY; const width = topWindow.innerWidth ? topWindow.innerWidth : document.documentElement.clientWidth ? document.documentElement.clientWidth : screen.width; const height = topWindow.innerHeight ? topWindow.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : screen.height; const h = height * .75; const w = 500; const systemZoom = width / topWindow.screen.availWidth; const left = (width - w) / 2 / systemZoom + dualScreenLeft; const top = (height - h) / 2 / systemZoom + dualScreenTop; const newWindow = window.open(url, title, `scrollbars=yes, width=${w / systemZoom}, height=${h / systemZoom}, top=${top}, left=${left}`); if (window.focus) newWindow.focus(); } // This overrides the default checkout button click handler to show the embed modal // instead of opening a new tab with the given link url document.getElementById(‘embedded-checkout-modal-checkout-button’).addEventListener(‘click’, function (e) { showCheckoutWindow(e); });

Squareの決済システムを使用しています。

※Squareのシステムの都合上、姓名、メールアドレス、電話番号を入力する欄がありますが、安心してご寄付いただくため、当方では確認できない設定になっています(姓名はニックネームで差し支えありません)。