Facebook comment cleaner

Cleans Facebook comments of idiotic name-only mentions

< Feedback de Facebook comment cleaner

Pergunta/Comentário

§
Publicado em: 13/01/2015

Small optimization

Hi, you can optimize the efficiency of the script by changing line 24 from:

for (var i = 0; i < contents.length; i++) {

To:

for (var i = 0; i < contents.length && !isValid; i++) {

Or, alternatively, you could add a break after line 31.

Enviar resposta

Entre para publicar uma resposta.

长期地址
遇到问题?请前往 GitHub 提 Issues。