# Mobiele (iOS) pagina's leeg met JS uitgeschakeld

**URL:** https://meta.discourse.org/t/mobile-ios-pages-blank-with-js-disabled/266240
**Category:** Bug
**Tags:** pr-welcome
**Created:** [25 mei 2023 om 17:27 UTC](https://meta.discourse.org/t/mobile-ios-pages-blank-with-js-disabled/266240 "2023-05-25T17:27:39Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![JonahAragon1](https://avatars.discourse-cdn.com/v4/letter/j/f19dbf/32.png) [@JonahAragon1](https://meta.discourse.org/u/JonahAragon1)
#### Post date: [25 mei 2023 om 17:27 UTC](https://meta.discourse.org/t/mobile-ios-pages-blank-with-js-disabled/266240/1 "2023-05-25T17:27:39Z")

</div>

If I have Javascript disabled in iOS Safari, content just isn’t rendered: The homepage is blank and topic pages display only the title and category without any text content. I’m seeing this behavior on my own site as well as Meta:

 ![0C511DFC-7400-411A-8792-98EBC4B66A7C_1_102_o](https://global.discourse-cdn.com/meta/original/4X/3/7/5/3752d0b44c97ea5247100081e275fdade7a751ac.jpeg) ![3137D894-3972-4BE4-8174-5D5285CFCB82_1_102_o](https://global.discourse-cdn.com/meta/original/4X/0/8/d/08d7cc075a46902a8b097cf33a4a5507664da62d.jpeg)

Tested on iOS 16.5, as well as macOS Safari with an iOS user agent set.

Edit: I’m also seeing this with an Android/Chrome user agent set.

---

<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: [26 mei 2023 om 01:20 UTC](https://meta.discourse.org/t/mobile-ios-pages-blank-with-js-disabled/266240/2 "2023-05-26T01:20:17Z")

</div>

@Falco / @david I believe this is the optimisation we have for mobile where we don’t send the full payload to save on traffic?

Feels deliberate, but maybe there is something we can do here longer term and force a redirect or something for cases like these? (redirect to ?javascript\_disabled or something…)

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [26 mei 2023 om 17:40 UTC](https://meta.discourse.org/t/mobile-ios-pages-blank-with-js-disabled/266240/3 "2023-05-26T17:40:19Z")

</div>

> [@sam](#):
>
> @Falco / @david I believe this is the optimisation we have for mobile where we don’t send the full payload to save on traffic?

Yes, that’s exactly it. The trade-off is better performance for 99.999% of users, with saves for both network usage and user battery, but people who disable JS on their modern smarthphones don’t get the static HTML version.

> <https://github.com/discourse/discourse/blob/main/app/helpers/application_helper.rb#L434-L436>

> [@sam](#):
>
> Feels deliberate, but maybe there is something we can do here longer term and force a redirect or something for cases like these? (redirect to ?javascript\_disabled or something…)

Force a redirect with a `meta` tag? Maybe we render a button on the `else` of this `if` here

> <https://github.com/discourse/discourse/blob/main/app/views/topics/show.html.erb#L36>

that reloads the current page with a parameter and/or setting a cookie?

Considering the impact here, and the work needed, I’d say it’s low priority work and #pr-welcome.
