Non c'è bisogno di nessuno script...
Basta aggiungere nell'HEAD questo META tag:

<META http-equiv="imagetoolbar" content="no">