0

I want to measure the HTML parsing time of some webpages. One difficulty is the parsing and JavaScript execution happen alternatively.

I am not familiar with html and javascript, is there any simple way to disable the execution of the scripts?

E.g. inserting <noscript> to some places (I am not sure if this will work)

By the way, I do experiments on Android.

1

2 Answers 2

3

You can disable JavaScript in Chrome developer tools. Click on settings icon on lower right of the tool then you will find the settings.

enter image description here

Sign up to request clarification or add additional context in comments.

1 Comment

The question is about doing this on Android.
1
  1. Type

    chrome://settings/content

    in Chrome browser address bar.

  2. Under JavaScript section select "Do not allow any site to run JavaScript".
  3. Click Done.
  4. Refresh page, JavaScript will not be executed.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.