I, like many, learnt how to use Google Chrome extensions to inject scripts into pre-existing webpages from Rob W's excellent answer here.
One thing I've become curious about is this part of his code:
s.onload = function() {
this.remove();
};
Why do we need to remove the script after injecting it? I can't seem to find an answer.