Research on---Rosin of mobile web-adjustable tool

Source: Internet
Author: User
Tags fiddler2

Research on---Rosin of mobile web-adjustable tool

Read Catalogue

    • About Rosin
    • How to use Rosin in fiddler
Back to Top

One: About Rosin

Rosin is a fiddler plug-in, it can accept the page JS Console.log output value, the value is persisted locally, we can develop the mobile page through the fiddler agent.

For more details on rosin, you can see the following links:

http://www.alloyteam.com/2015/03/mobile-web-debug-tool-rosin/

If we are using Fiddler2, please download the following:

Rosin for Fiddler2

If we are using FIDDLER4, please download the following:

Rosin for Fiddler4

We can download the completed, directly click on the downloaded. exe file to complete the installation, after the installation is complete, rewrite open fiddler, we can see the Fiddler tab in the Rosin tab, as follows:

Back to Top

II: How to use Rosin in fiddler

First open the fiddler, switch to the Rosin tab, and then click the Add Rule button to open the Rule Add panel as follows:

You can see such as the dropdown box, which supports three types of matching methods, the first default is the domain name matching as shown above;

The second type is path matching, as follows:

The third is a regular match, as follows:

In the matching rule to add a specific rule, such as the above type to the right of the corresponding prompt, how to use, we currently use the most is the domain name (host) match; Let's take a look at the domain name matching, we first do a demo under the local server;

1. First we add rule and click the Add Rule button and the following box pops up:

Can be configured as above;

2. Click the OK button to change to the following:

Now we need to access the 192.168.1.101 page under the domain name on the phone, before accessing the page, we need the following settings:

How to use mobile phone mode mobile page, please click the following link to view, or the same as before to set up:

Http://www.cnblogs.com/tugenhua0707/p/4623317.html#_labe10

Once the settings are complete, we use the phone to access the following pages:

If I now a.html the page JS code is as follows:

After the run is complete, we go back to fiddler, switch to Rosin's Log tab, select our test page, and view the logs as follows:

We can also do some complex object output, the JS code is as follows:

<script>

var obj = {"A": 1, "B": One, "C": ' ABC '};

Console.log (obj);

</script>

Again we go to the page after the run, and then we use the Log tab of the Rosin tab to see the results as follows:

We can double click on the right Objectc4ao popup json View, click this button;

Go to the following page to view

We can also switch to the Text tab to view it, as shown in the following:

And so on to see the effect, the basic domain name matching is shown above, the other match is the same meaning, and we use the most on the page to use the domain name can be used to match;

Research on---Rosin of mobile web-adjustable tool

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.