Facebook comment cleaner

Cleans Facebook comments of idiotic name-only mentions

< 腳本Facebook comment cleaner的回應

提問/評論

§
發表於:2015-01-13

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.

發表回覆

登入以回覆