AngleSharp / AngleSharp.Js

:angel: Extends AngleSharp with a .NET-based JavaScript engine.

Home Page:https://anglesharp.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to enable to allow JavaScript site!

muhammetsahin opened this issue · comments

Bug Report

I added AngleSharp.Js and WithJs and also added user agent but I'm getting "You need to allow JavaSript for this site!" from our testing web site.

Prerequisites

  • Can you reproduce the problem in a MWE?
  • Are you running the latest version of AngleSharp?
  • Did you check the FAQs to see if that helps you?
  • Are you reporting to the correct repository? (there are multiple AngleSharp libraries, e.g., AngleSharp.Css for CSS support)
  • [X ] Did you perform a search in the issues?

Steps to Reproduce

image
image

Thank you for your help.

Not sure about the specific page, but since JS is on I suppose this is not a noscript block, but rather a "JS script not loaded" issue.

Make sure the JS is not crashing (i.e., AngleSharp.Js is capable of running the script). Also note did you did not enable resource loading; if the JS is in an external *.js file, i.e., not inlined, then it won't be loaded with the configuration you supplied.

Please try to create a MWE to reproduce the problem in isolation.