Is it possible to apply javascript to webbrowser document if this script is not in the HTML?

Thanks.