AngleSharp / AngleSharp.Js

:angel: Extends AngleSharp with a .NET-based JavaScript engine.
https://anglesharp.github.io
MIT License
103 stars 22 forks source link

How to enable to allow JavaScript site! #60

Closed muhammetsahin closed 4 years ago

muhammetsahin commented 5 years ago

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

Steps to Reproduce

image image

Thank you for your help.

FlorianRappl commented 5 years ago

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.

FlorianRappl commented 4 years ago

Anything? cc @muhammetsahin