你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/764-empire-overview/discussions/9154,源站連結 點此以跳轉。
Script for Ikariam 0.7.x, Overview tables for resources, buildings and military inspired by Ikariam Empire Board
The problem is with Chrome. The codes are all intended for browsers, which also take over the respective language of the country. Chrome prefers English and it comes to a conflicts. But maybe I can find a solution later.
Maybe you could send me the key codes.
https://abload.de/img/tastaturpoqzs.png
for US keyboard:
11th town: - is 189
12th town: = is 187
OK. I have solved it now.
...
case 'tw':
case 'us':
keycodes = [49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 173, 61]; //EN - = for Firefox
if (isChrome)
keycodes = [49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 189, 187]; //US - =
break;
Comes with the next update.
thanks
@MickM: Is everything running?
@all: Which countries do I need to change?
I'm using the latest version of the script, and the keycodes are working for me on Chrome with Tampermonkey. Thanks!
small fix
I was having trouble getting the - and = keys to access my 11th and 12th towns until I made the following change to lines 2866-2888:
case 'us':
keycodes = [49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 189, 187]; //EN - =
break;