What tools can i use to write a java script for facebook console panel : <p>I've seen java scripts've been used to do facebook tasks fast(by adding them through browser console panel) ,such as adding friends, sending messages, posting on groups....</p>

<pre><code> ie: $$javascript:var inputs = document.getElementsByClassName('_54k8 _56bs _56bt');  for(var i=0; i&lt;inputs.length;i++) {  inputs[i].click();}
</code></pre>

<p>(this's been used to cancel sent requests..)
i need to know what are the tools/ides have been used to write these scripts..</p>
