announcements

Ender [1]
Administrator
2013-08-24 12:11:41
[11 years, 92 days ago]

Levels that contain no bots to attack are no longer linked to on the fight list page. This is mainly useful for higher level bots where things can get a bit sparse. Thanks to Xj2 for the suggestion.


 
shoyuken [175]
2013-08-24 12:13:28
[11 years, 92 days ago]

?

http://bots4.net/fight/233

i still see them....


 
shoyuken [175]
2013-08-24 12:14:17
[11 years, 92 days ago]

ah gone now


 
Lyrad [309]
2013-08-24 12:14:26
[11 years, 92 days ago]

same here. http://bots4.net/fight/310


 
Ender [1]
Administrator
2013-08-24 12:14:33
[11 years, 92 days ago]

As usual, it helps to apply updates before announcing them. Check again. :)


 
Lyrad [309]
2013-08-24 12:17:16
[11 years, 92 days ago]

would it be okay if it isn't strike-through? it looks kind of messy for me. just plain unlinked and gray color is fine.


 
Fishwick [132]
Moderator
2013-08-24 12:39:11
[11 years, 92 days ago]

Lyrad, you could do that yourself if you wanted to, save the following text to a file called "strike.user.js":

var strike=document.getElementsByClassName('graystrike');for(var i=0; i<strike.length;i++){strike[i].style.textDecoration="none";}

drag that file into your extensions window (url is chrome://extensions) and it should start working


 
Fishwick [132]
Moderator
2013-08-24 12:45:21
[11 years, 92 days ago]

or change the word "textDecoration" to "display" to not see the level's at all:

var strike=document.getElementsByClassName('graystrike');for(var i=0; i<strike.length;i++){strike[i].style.display="none";}


 
DarkNinjaMaster [40]
2013-08-24 18:11:19
[11 years, 92 days ago]

Nice turn around time on this one!

And ty fishwick for the addon!


 
Ender [1]
Administrator
2013-08-24 19:29:36
[11 years, 92 days ago]

would it be okay if it isn't strike-through? it looks kind of messy for me. just plain unlinked and gray color is fine.

Done.

or change the word "textDecoration" to "display" to not see the level's at all:

Thanks for putting together these kinds of small alternatives for people to customize their looks. Just a small word of caution though for people writing/using these types of things (and I don't mean to pick on you in the slighest, Fishwick, so please don't take it that way): The second one that hides all elements with the "graystrike" class is fine right now because this is the only place I had used that, but if I one day decide to use it elsewhere in a different context (it's very generic in that it just applies gray+strikethrough to arbitrary text), this would end up hiding the text from people and they probably won't have any idea that they missed something in the first place. You could work around this by providing a complete script that restricts its running to the fight list page and/or using a more targeted selector so that it only applies specifically to the level list and not to other random elements using that class.


 
Xj2 [156]
2013-08-24 21:38:52
[11 years, 91 days ago]

<3


 
Leader2 [68]
2013-08-25 10:51:04
[11 years, 91 days ago]

great work ender :) makes it much easier now when hitting a high level bot :D