leseSpielerNamen speed increase
|
|
This is much faster: function leseSpielerNamen() {
spieler = String( find('//td[@class="menu"]/a[@target="_blank"][2]',XPFirst) ).split('|')[1];
The problem is that its kind of tied to the target attribute "_blank". It could be changed to use the href attribute instead of the target attribute looking for "/chat/?chatname=". |
|
|
This looks for the chat instead of using indexing:
|