# Add a get-option to enable noscript view of a page

**URL:** <https://meta.discourse.org/t/add-a-get-option-to-enable-noscript-view-of-a-page/33823>\
**Category:** Feature\
**Created:** [28 Septiembre, 2015 07:20 UTC](https://meta.discourse.org/t/add-a-get-option-to-enable-noscript-view-of-a-page/33823 "2015-09-28T07:20:12Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![rubo77](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rubo77/32/41019_2.png) [@rubo77](https://meta.discourse.org/u/rubo77)\
**Post date:** [12 Octubre, 2015 22:37 UTC](https://meta.discourse.org/t/add-a-get-option-to-enable-noscript-view-of-a-page/33823/3 "2015-10-12T22:37:06Z")

</div>

> [@riking](#):
>
> Perhaps `params.key?(:noscript)

I changed the line to

```plaintext
def use_crawler_layout? 
  @use_crawler_layout ||= (has_escaped_fragment? || params.key?(:noscript) || CrawlerDetection.crawler?(request.user_agent))
end

```

And this seems to work, if I add `?noscript=1` to any site, I get the crawler-view, but the stylesheet is not included there, I guess there has to be changed somethhing in the layout too?

---

_[View the full topic](https://meta.discourse.org/t/add-a-get-option-to-enable-noscript-view-of-a-page/33823)._
