# Broken crawler view when you disable Javascript

**URL:** https://meta.discourse.org/t/broken-crawler-view-when-you-disable-javascript/226365
**Category:** Feature
**Created:** [May 6, 2022, 7:09pm UTC](https://meta.discourse.org/t/broken-crawler-view-when-you-disable-javascript/226365 "2022-05-06T19:09:51Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![stance455](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stance455/32/255345_2.png) [@stance455](https://meta.discourse.org/u/stance455)
#### Post date: [May 6, 2022, 7:09pm UTC](https://meta.discourse.org/t/broken-crawler-view-when-you-disable-javascript/226365/1 "2022-05-06T19:09:52Z")

</div>

Ran into this error while looking at something else but basically if you disable JS in chrome

 ![Screen Shot 2022-05-06 at 9.57.17 PM](https://global.discourse-cdn.com/meta/original/4X/d/b/5/db58fd10ca0913f2244fd9baf0a470453d1c3688.png)

You get this

 ![Screen Shot 2022-05-06 at 9.56.55 PM](https://global.discourse-cdn.com/meta/original/4X/3/e/3/3e3a26ef73263b843f2203daad2702d3a07e1632.png)

Instead of this, which is what you get if you change the user agent to Google smartphone bot

 ![Screen Shot 2022-05-06 at 9.56.15 PM](https://global.discourse-cdn.com/meta/original/4X/0/d/d/0dd247695a040ac5c80958f848770266fec3d920.png)

Google bot was crawling my instance and lately seems to have turned of JS in their crawler for me.

I think it has to do with me using prerender for about a month… so its adjusting to JS files instead of all html . [Every 10 or so tests](https://search.google.com/test/mobile-friendly/result?id=vxvWKt442xKK5btppm8LWw) Ill see the screenshot that it renders correctly.

 ![Screen Shot 2022-05-05 at 10.27.50 PM](https://global.discourse-cdn.com/meta/original/4X/f/a/1/fa1fb6f34757dc6cb85587ba063107c0c660acc7.jpeg)

But most of the time it gives the format you see in the first screenshot. Time will tell.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [May 9, 2022, 7:32am UTC](https://meta.discourse.org/t/broken-crawler-view-when-you-disable-javascript/226365/2 "2022-05-09T07:32:46Z")

</div>

This is by design, we have a mobile optimisation.

IF the useragent is modern AND you are browsing from mobile THEN we omit the text payload to optimise transit for mobile phones.

Not configurable, possibly we could do this longer term if there is enough demand for it.
