Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

This question already has an answer here:

Whenever I try to view .js in IE8 by just visiting the .js url, it prompts for a download. how can i view the actual code without downloading it?

share|improve this question

marked as duplicate by Karan, Ƭᴇcʜιᴇ007, gronostaj, Mokubai, Breakthrough Jun 30 '13 at 15:58

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

Press F12 in IE8

Press F12 in IE8

select js script:

select <code>js</code> script

share|improve this answer
    
He said he wants to open the .JS URL directly, not access the .JS linked from an HTML page. Suppose the file is cdn.sstatic.net/js/stub.js, can you tell me how IE's Developer Tools will help? As soon as you enter the URL IE will prompt you to download the file. –  Karan Jun 29 '13 at 2:11

Not the answer you're looking for? Browse other questions tagged or ask your own question.