因為之前用 VBS 寫給 IE 的 Scritp 不能用(IE11跑不出畫面),Chrome 在沒有顯卡的 VM 裡面超慢,所以就用 Firefox 把系統兜起來了。
Firefox 需要調整 about:config 裡面的幾個參數:
- dom.disable_window_open_feature.status
- dom.disable_window_open_feature.resizable
- dom.disable_window_open_feature.location
document.getElementById('area-game').style['text-align'] = 'left'; | |
var borderX = (window.outerWidth - window.innerWidth); | |
var borderY = (window.outerHeight - window.innerHeight); | |
var frame = document.getElementById('game_frame'); | |
var rectHeight = frame.getBoundingClientRect().top; | |
var toY = rectHeight + 16 + window.pageYOffset; | |
/* | |
var toX = (document.getElementById('adFlashWrap').style.width - document.getElementById('maintenanceswf').style.width) / 2; |
$PCRE_VERSION='8.42' | |
$ZLIB_VERSION='1.2.11' | |
$OPENSSL_VERSION='1.0.2p' | |
$NGINX_VERSION='release-1.15.3' | |
$NGINX_RTMP_VERSION='master' | |
# using standlone minGW | |
#$MSYS_PATH='C:\MinGW\msys\1.0\bin' | |
# using gitbash | |
$MSYS_PATH='C:\Program Files\Git\usr\bin' |