Last active
August 8, 2019 06:33
-
-
Save yuru4c/a791ca6feafd94243722e47c0ab6372a to your computer and use it in GitHub Desktop.
某 MAP の全体を表示させる
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function ($) { | |
var t = $.querySelector('.map-tiles'); | |
var v = $.querySelector('.map-viewport'); | |
v.style.width = t.style.width; | |
v.style.height = t.style.height; | |
$.body.innerHTML = ''; | |
$.body.appendChild(t); | |
$.body.style.overflow = ''; | |
})(document); | |
// 手動で URL を変更し内容を書き換えさせる | |
// 全体の大きさが変わるとダメ (4, 5 行目) | |
// スクリーンショットを取りたいだけなのでこれで妥協 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment