Executing a JavaScript file directly from the browser

前端 未结 6 1269
攒了一身酷
攒了一身酷 2021-01-31 04:31

This sounds like a trivia question but I really need to know.

If you put the URL of an HTML file in the Location bar of your browser, it will render that HTML. That\'s

6条回答
  •  别跟我提以往
    2021-01-31 05:25

    you can write your own browser using qt /webkit and do that. when user enters a js file in url location you can read that file and execute the javascript .

    http://code.google.com/apis/v8/get_started.html is another channel. not sure if it meets ur need.

提交回复
热议问题