Executing Vbscript from IE Address Bar
问题 Is there a way I can execute my vbscript code directly from my address bar? I am looking for something similar to what we have for JavaScript. On a side note, isn't running vbscript from browser a major security risk, as it has more privileges while running than JavaScript? 回答1: Pretty much the same way as Javascript it just doesn't work very well: vbscript:replace(document.body.innerhtml,"Address Bar","sandwich") Essentially this navigates to a page that has source equivalent to the returned