Fiddler can easily decode responses - how to make this automatic? - fiddler

In Fiddler I have many responses which I like to view raw. For each one Fiddler says "Response is encoded and may need to be decoded before inspection. Click here to transform."
I want not only the current one, but all responses to always be transformed. Anyone know how to set this? Rules->Remove all encodings does not do the trick.

If the goal is to remove compression during the processing of a session:
That's what the "Decode" button on the toolbar does.
That's also what Rules menu > "Remove all encodings" does.
If the goal is to remove the encoding after session processing is complete, select all of the sessions (CTRL+A) and use "Decode Selected Sessions" on the Web Sessions list's context menu.

It's very easy. Just click the "Decode" button on Fiddler's toolbar.

Related

Adding Headers to Firefox HTTP Request without Using PlugIns

I have Firefox version 52.1. I cannot udpate to newer version, nor can I add plugins that people ordinarily install to address these issues.
I am calling some rest services that require communicating that these are POST request plus a couple of other things ordinarily communicated through hearder information.
What options do I have for adding these specific header requirements to my Firefox request assuming I cannot add plugins or upgrade to a newer version of the browser? Thank you.
Ok, so simply by opening the very basic developer tools (i.e. press F12), then executing the request (which will fail because it is missing header info), then selecting the network tab in the tool followed by the All within the Network frame, it shows the failure info. Then I can select the default method value (GET) in the table of the attempted request, it will open a frame of the right of the tool. This frame has a header tab whose frame allows you to modify the header by clicking the Edit and Resend button. Click that button and then add the additional needed header params. then click the resend button.
Another option is to use Postman. Especially when you're going to do this on a regular basis. I started out using just the browser like you, but it got pretty cumbersome, so I switched to Postman.
web.postman.co

Creating a cascading input control with a multi-select input control

I have to build some cascading multi select input controls in JasperServer Report, but I'm having the same problem as this guy here:
http://community.jaspersoft.com/questions/844760/creating-cascading-input-control-multi-select-input-control
The thread is very old, and people replied him to search for a "Cascading_multi_select_report" sample. I've searched for it, but I couldn't find it anywhere.
I'm struggling to make this type of cascading input control... Does anyone have any idea?
Thanks!
I don't have an answer for this, but I may have an answer to help you debug. Whenever you are trying to run your report on the jasper server and are just getting a blank page (no input controls), you can use Chrome developer tools or Firebug or whatever browser web developer tool you use (usually Ctrl + Shift + Q will pull it up) and in the Network pane, you can see the requests. Find the last GET request, and look at the response for it and you can see the error.

Mouseup event is not propagated to a popup window in IE 11

I've a legacy app that features a DND from a popup window to the main one.
It works fine in IE 8 but not in any of the newer versions of IE. The effect results in the drag ghost image being stuck in the source window and not going away after the drop had occurred.
Some debugging did in fact confirm that the 'mouseup' event does not get propagated back to the source window. What can be done to fix it? Many thanks!
ITs a bit hard to begin to answer your question without some code....
use the File>Properties menu to find out which IE security zones the two windows(domains) map too...IE uses a different security model to other browsers... drag/drop is probably not allowed between local web files (using file: protocol) and internet or intranet sites.
Have you used the Dev tool yet to debug it? If you are using showModalDialog (which normally disables context menus) you can right click on a link (a) or input element to display the context menu so you can display the debugger for showModal content page.
If possible include a link to your website or a mashup (jsfiddle) with your questions.

K2: How may I open a file in a new window unless I already have such a window open?

I have a K2 Smartform that displays a list of file names. When the user clicks a file name, the program opens that file (all of them are PDFs) in a new tab in the browser (IE). This is good so far. If you click on a second file from the list, it opens in a third tab. That is not what the user wants.
They want the second file selection to open in the same window as the first file.
This is the process I can see:
Click on the file in the list.
Open in a tab.
Click on a second file in the list.
If there is already a tab open with a file from the list, open this file there. Otherwise, open a new tab for the file.
I suppose automatically closing the first tab when they click on the second file would accomplish the same thing.
How can this be done?
When you deal with opening links, first of all, what you can do is limited. Indeed, browsers (IE, Chrome, etc...) can be configured by the users to open links in new tabs, windows, etc... and you as form developer cannot change that.
I have made a jsfiddle to reproduce your situation and propose a solution you can test. I don´t guaranty it will work as I use a Mac but I also describe a better solution below.
You can find it here:
https://jsfiddle.net/chevdor/45k40npv/
I guess the first example (#1) is what happens for you at the moment.
Using the 'target' attribute, I tried to implement a solution that may work for you. Click on #2 and #3 and check whether this work.
I cannot test that since I use a Mac.
You can read more about the target attribute here:
http://www.w3schools.com/tags/att_a_target.asp
Another solution that would give you more control is to use an iFrame control. I think it comes in standard with SmartForms now. If not, you can for sure get it from the community site. I recommend you create a new View with this iFrame and define one parameter (string) called "url".
Let´s speak in K2 rules languages :)
"When the parameter changed", "and the parameters is defined", if you 'Transfer data' passing your URL to the iFrame control, it will display your doc. If the user clicks another document, it will update the SAME iFrame. With this solution, no tab will ever be involved.
Please note that it will work great for any document supported by your browser. Some types may require a plugin. Other documents (ie zip, etc..) will NOT appear but be downloaded instead.
I hope this helps.
Best regards,
-chevdor

Use fiddler only for some processes

I was wondering if I could use Fiddler2 on only some processes instead of all applications which use system proxy settings. I know there is a filter option in Fiddler2, but as far as I know, it only hides information and the traffic is captured anyway.
There is a "Any Processes" button on fiddler toolbar. Drag the icon to a window to show traffic from only that process. Click the icon again to cancel the filter.
This is the best and simplest way to filter by process.
Or, in File menu, don't check the "Capture Traffice" item. Then set proxy in your others applications which need to be captured by fiddler.
If you capture HTTPS, open the https config dialog(Fiddler Options >> HTTPS), you'll see a list box with these list items:
...from all processes
...from browsers only
...from non-browsers only
...from remote client only
Here is a video which shows you how to filter by processes in fiddler. Towards the end of the video, you can learn how to filter by browser or even the tab of a browser.
https://www.youtube.com/watch?v=qZYl3a60-Uc
Steps (Fiddler 4.3x) -
Fiddler > Filters Tab
Use filters - check it!
Client processes : Show only Traffic from - check it! > Choose your process (a browser or tab in browser) from the adjacent drop down menu.
Actions button > Run filterset now - click it!
Done !
To use Fiddler for capturing traffic from a specific process/Application fiddler has provided a option - "Any Process"
Steps :
Open/Launch the application which you want to monitor.
Select "Any Process" option and Drag it to the you application.
Now you have restricted Fiddler to capture the traffic from a specific Process/Application.