Greasemonkey lets you add JavaScript code (called "user scripts") to any web page, which will run when its HTML code has loaded.
So when user scripts stat running ,the <script>
have already run,maybe it is a little hard to do that.
Or use $ wget url_you_want_to_visit
and remove the fist <script>
.
Maybe you should install wget
in your Windows OS.
Creat a file a.bat
,and the content of it is like
wget url -O index.html&&perl remove_first_script.pl&&start index.html;
and then use it in cmd
like
a.bat the_url