Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip JavaScript flag ignored #170

Closed
Bjortin opened this issue Oct 24, 2023 · 1 comment
Closed

Skip JavaScript flag ignored #170

Bjortin opened this issue Oct 24, 2023 · 1 comment

Comments

@Bjortin
Copy link

Bjortin commented Oct 24, 2023

Describe the bug

I've been trying to use both the CLI and CI approach, with and without configuration files, and JavaScript is not disabled regardless of file configuration or flags.

(JavaScript content is rendered despite this flag)
--disable-javascript

(JavaScript content is rendered despite this property of the scanner)
scanner.skipJavascript = ture

Reproduction

No response

System / Nuxt Info

No response

@harlan-zw
Copy link
Owner

This flag is used to allow the crawler to work with SPAs, it's disabled by default and does work.

Can you provide some more context on why you want it disabled and I can give you some idea of what you're looking for? FWIW it's not possible to run Lighthouse with js disabled.

@harlan-zw harlan-zw closed this as not planned Won't fix, can't repro, duplicate, stale Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants