Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8022989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T22:25:46+00:00 2026-06-04T22:25:46+00:00

As a JS dev, I very frequently use Fiddler tool. I also use its

  • 0

As a JS dev, I very frequently use Fiddler tool. I also use its addon JavaScript Formatter to nicely format minified files for debugging purposes.

However, the problem is that the JS formatter doesn’t seem to be configurable at all, and works on “all-or-nothing” base.

Problem:

In my company, we sometimes bundle a lot of (not JS, but compilable to JS) files together, serve it as JS, and then, rely on that file format to parse them and load properly. This may sound strange, but it’s to avoid having tens of micro files, and have a one bundle with all of them.

So basically, the file looks like:

//MAGICCOMMENT
//FILEID
markup
markup
...
markup
//FILEID
markup
markup
...
markup

and so on.

Question:

Is there any way to tell Fiddler not to prettify that files? We have a //MAGICCOMMENT in the first line, which is the same for all the multipart files, which can perhaps be used to detect it, but I don’t know if and how can I make use of it.

PS: I guess we can’t change the MIME type of the served files.

Edit:

I know the “Make JavaScript Pretty” option in Rules menu, which is added after installing the JS Formatter plugin. I want to make this option working conditionally (but: at the time of sending data to the browser, so I can put breakpoints in the browser on the prettified JS source, for all the files that I want to be prettified, i.e. the files other than the multiparts).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T22:25:48+00:00Added an answer on June 4, 2026 at 10:25 pm

    For now, you can just disable the “Make JavaScript Pretty” item on the Fiddler Rules menu. When you want to beautify an individual JavaScript file, you can do so by right-clicking the session in the Web Sessions list and choosing Make JavaScript Pretty directly on the session.

    Alternatively, you can disable the global option and have FiddlerScript conditionally format the JS File. E.g. inside Rules > Customize Rules > OnPeekAtResponseHeaders()

    if (oSession.oResponse["Content-Type"].ToLower().Contains("script")) {
      if (!oSession.uriContains("Combinedfilenameorwhatnot")) { 
         // Note this flag name is soon changing to X-Format-JS
         oSession["X-FIDDLER-JS-FORMAT"] = "yes"; 
      }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The following works very nicely to determine the length of various audio/video files: mplayer
I use Ext.form.ComboBox in very similar way as in this example: http://extjs.com/deploy/dev/examples/form/forum-search.html What annoys
I'm new to Android dev. There's a very pretty state diagram of the MediaPlayer
I've finally got around to starting windows phone dev. I'm not very good at
setting a dev tool panel icon in chrome.devtools api from a png renderes offset
I'm dev an app into titanium mobile in javascript. The dynamic menu insert each
I need to dev a very flexible layout for a cms so that the
OK, I'm working with converting some very basic PHP to port to a dev
i want to use alter table but the syntax posted here: http://dev.mysql.com/doc/refman/5.1/en/alter-table.html is very
I am the only dev in a very small IT shop and as such

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.