# Make Discourse play nice with the Wayback Machine

**URL:** https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579
**Category:** Feature
**Created:** [10월 16, 2015, 2:39오전 UTC](https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579 "2015-10-16T02:39:46Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![anarcat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/anarcat/32/130748_2.png) [@anarcat](https://meta.discourse.org/u/anarcat)
#### Post date: [3월 13, 2018, 5:29오후 UTC](https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579/26 "2018-03-13T17:29:21Z")

</div>

Any news from the IA people? it would be great to see this issue fixed…

I’ve tried to archive [this historic post from the Let’s Encrypt people](https://community.letsencrypt.org/t/acme-v2-and-wildcard-certificate-support-is-live/55579) and [archive.org](http://archive.org) made a [page that says “Oops! That page doesn’t exist or is private”](https://web.archive.org/web/20180313171525/https://community.letsencrypt.org/t/acme-v2-and-wildcard-certificate-support-is-live/55579), so clearly there’s something more to be done here. The [print version](https://web.archive.org/web/20180313171904/https://community.letsencrypt.org/t/acme-v2-and-wildcard-certificate-support-is-live/55579/print) does render correctly, but it’s not visible from the user and I wouldn’t have found it without looking here, so I’m not sure it’s a good fix.

In general, this connects with complaints I’ve heard from would-be Discourse users about the heavy use of Javascript in the user interface. Obviously, this was [discussed](https://meta.discourse.org/t/accessibility-concerns-re-email-lynx-jaws/35675) [many](https://meta.discourse.org/t/a-basic-discourse-archival-tool/62614) [times](https://meta.discourse.org/t/discourse-as-a-progressive-web-app/47265) here, but having _something_ show up when no Javascript loads at all would be a huge benefit to many users, not just crawlers. In Firefox with Javascript disabled, this site just says “Cannot load app” and basically tells me to go away. Many security-worried folks browse the web with Javascript turned off. As the article @ibnesayeed shared says, this is not specific to Discourse and browsing without Javascript promises a world of pain and emptiness, but it would be nice if Discourse would degrade more gracefully than “Go away, you’re too old”. 🙂

Thanks for all the work! I can already appreciate all the work that’s been done to tailor to all those corner cases, for what it’s worth…

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [3월 13, 2018, 5:45오후 UTC](https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579/27 "2018-03-13T17:45:17Z")

</div>

> [@anarcat](#):
>
> ut it would be nice if Discourse would degrade more gracefully than “Go away, you’re too old”. 🙂

Set your user agent to google and try again. I think you’re missing something here.

(Also the IA user agent is explicitly in our list of crawler user agents, as I recall)

---

<div class="post-metadata">

### Author: ![anarcat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/anarcat/32/130748_2.png) [@anarcat](https://meta.discourse.org/u/anarcat)
#### Post date: [3월 13, 2018, 6:11오후 UTC](https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579/28 "2018-03-13T18:11:43Z")

</div>

weird. i might be missing something indeed: if I disable javascript/XHR (in uMatrix) and hit “reload”, I get the “Cannot load app” message. buuut if i _force-reload_ i get the crawler version. so I’m not sure what’s going on here…

also, setting my useragent to Googlebot works: I see the crawler version with javascript enabled or not. It would still be nice to show that version when Javascript is disabled, for example…

but that’s kind of drifting out of the original topic here… maybe i should make a “i’m a paranoid non-javascript old fart and i still want discourse to work” discussion? 😉

---

<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: [3월 13, 2018, 6:14오후 UTC](https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579/29 "2018-03-13T18:14:45Z")

</div>

> [@anarcat](#):
>
> also, setting my useragent to Googlebot works: I see the crawler version with javascript enabled or not. It would still be nice to show that version when Javascript is disabled, for example…

It does. In Chrome when I disable JS and refresh the Let’s Encrypt page I get a fully readable page.

> [@anarcat](#):
>
> if I disable javascript/XHR (in uMatrix) and hit “reload”, I get the “Cannot load app” message.

There are several reports of bad browsers extensions that don’t work on service worker enabled sites: [ServiceWorker thinks I'm offline when I'm not - #19 by supermathie](https://meta.discourse.org/t/serviceworker-thinks-im-offline-when-im-not/77886/19)

> [@codinghorror](#):
>
> (Also the IA user agent is explicitly in our list of crawler user agents, as I recall)

Last I checked, they send down the user agent of the user who asked the archive, making our user-agent approach useless :sadpanda:

---

<div class="post-metadata">

### Author: ![anarcat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/anarcat/32/130748_2.png) [@anarcat](https://meta.discourse.org/u/anarcat)
#### Post date: [3월 13, 2018, 6:25오후 UTC](https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579/30 "2018-03-13T18:25:42Z")

</div>

> [@Falco](#):
>
> There are several reports of bad browsers extensions that don’t work on service worker enabled sites: ServiceWorker thinks I’m offline when I’m not

Uh! Well that’s interesting, you’re right! In Firefox, when I disable JS through the `javascript.enabled` config knob, i do get the proper page here. No idea why uMatrix fails to do the right thing here… I guess that’s a bug on uMatrix’s side?

> [@Falco](#):
>
> Last I checked, they send down the user agent of the user who asked the archive, making our user-agent approach useless :sadpanda:

That would be a problem indeed. Isn’t there anything IA sends that could be picked up by Discourse? There must be 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: [3월 13, 2018, 6:54오후 UTC](https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579/31 "2018-03-13T18:54:30Z")

</div>

> [@anarcat](#):
>
> That would be a problem indeed. Isn’t there anything IA sends that could be picked up by Discourse? There must be something…

I would love to get some input from the wayback team on this.

Looks like their current approach injects this into `<body>`:

```plaintext
<!-- BEGIN WAYBACK TOOLBAR INSERT -->
<script type="text/javascript" src="/static/js/timestamp.js?v=1520907403.0" charset="utf-8"></script>
<script type="text/javascript" src="/static/js/graph-calc.js?v=1520907403.0" charset="utf-8"></script>
<script type="text/javascript" src="/static/js/auto-complete.js?v=1520907403.0" charset="utf-8"></script>
<script type="text/javascript" src="/static/js/toolbar.js?v=1520907403.0" charset="utf-8"></script>

<style type="text/css">
body {
  margin-top:0 !important;
  padding-top:0 !important;
  /*min-width:800px !important;*/
}
.wb-autocomplete-suggestions {
    text-align: left; cursor: default; border: 1px solid #ccc; border-top: 0; background: #fff; box-shadow: -1px 1px 3px rgba(0,0,0,.1);
    position: absolute; display: none; z-index: 2147483647; max-height: 254px; overflow: hidden; overflow-y: auto; box-sizing: border-box;
}
.wb-autocomplete-suggestion { position: relative; padding: 0 .6em; line-height: 23px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 1.02em; color: #333; }
.wb-autocomplete-suggestion b { font-weight: bold; }
.wb-autocomplete-suggestion.selected { background: #f0f0f0; }
</style>
<div id="wm-ipp" lang="en" style="display:none;direction:ltr;">
<div style="position:fixed;left:0;top:0;right:0;">
<div id="wm-ipp-inside">
  <div style="position:relative;">
    <div id="wm-logo" style="float:left;width:130px;padding-top:10px;">
      <a href="/web/" title="Wayback Machine home page"><img src="/static/images/toolbar/wayback-toolbar-logo.png" alt="Wayback Machine" width="110" height="39" border="0" /></a>
    </div>
    <div class="r" style="float:right;">
      <div id="wm-btns" style="text-align:right;height:25px;">
                  <div id="wm-save-snapshot-success">success</div>
          <div id="wm-save-snapshot-fail">fail</div>
          <a href="#"
             onclick="__wm.saveSnapshot('https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579?u=falcotest', '20180313183529')"
             title="Share via My Web Archive"
             id="wm-save-snapshot-open"
          >
            <span class="iconochive-web"></span>
          </a>
          <a href="https://archive.org/account/login.php"
             title="Sign In"
             id="wm-sign-in"
          >
            <span class="iconochive-person"></span>
          </a>
          <span id="wm-save-snapshot-in-progress" class="iconochive-web"></span>
        	<a href="http://faq.web.archive.org/" title="Get some help using the Wayback Machine" style="top:-6px;"><span class="iconochive-question" style="color:rgb(87,186,244);font-size:160%;"></span></a>
	<a id="wm-tb-close" href="#close" onclick="__wm.h(event);return false;" style="top:-2px;" title="Close the toolbar"><span class="iconochive-remove-circle" style="color:#888888;font-size:240%;"></span></a>
      </div>
      <div id="wm-share" style="text-align:right;">
	<a href="#" onclick="window.open('https://www.facebook.com/sharer/sharer.php?u=https://web.archive.org/web/20180313183529/https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579?u=falcotest', '', 'height=400,width=600'); return false;" title="Share on Facebook" style="margin-right:5px;" target="_blank"><span class="iconochive-facebook" style="color:#3b5998;font-size:160%;"></span></a>
	<a href="#" onclick="window.open('https://twitter.com/intent/tweet?text=https://web.archive.org/web/20180313183529/https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579?u=falcotest&amp;via=internetarchive', '', 'height=400,width=600'); return false;" title="Share on Twitter" style="margin-right:5px;" target="_blank"><span class="iconochive-twitter" style="color:#1dcaff;font-size:160%;"></span></a>
      </div>
    </div>
    <table class="c" style="">
      <tbody>
	<tr>
	  <td class="u" colspan="2">
	    <form target="_top" method="get" action="/web/submit" name="wmtb" id="wmtb"><input type="text" name="url" id="wmtbURL" value="https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579?u=falcotest" onfocus="this.focus();this.select();" /><input type="hidden" name="type" value="replay" /><input type="hidden" name="date" value="20180313183529" /><input type="submit" value="Go" /></form>
	  </td>
	  <td class="n" rowspan="2" style="width:110px;">
	    <table>
	      <tbody>
		<!-- NEXT/PREV MONTH NAV AND MONTH INDICATOR -->
		<tr class="m">
		  <td class="b" nowrap="nowrap">Feb</td>
		  <td class="c" id="displayMonthEl" title="You are here: 18:35:29 Mar 13, 2018">MAR</td>
		  <td class="f" nowrap="nowrap">Apr</td>
		</tr>
		<!-- NEXT/PREV CAPTURE NAV AND DAY OF MONTH INDICATOR -->
		<tr class="d">
		  <td class="b" nowrap="nowrap"><img src="/static/images/toolbar/wm_tb_prv_off.png" alt="Previous capture" width="14" height="16" border="0" /></td>
		  <td class="c" id="displayDayEl" style="width:34px;font-size:24px;white-space:nowrap;" title="You are here: 18:35:29 Mar 13, 2018">13</td>
		  <td class="f" nowrap="nowrap"><img src="/static/images/toolbar/wm_tb_nxt_off.png" alt="Next capture" width="14" height="16" border="0" /></td>
		</tr>
		<!-- NEXT/PREV YEAR NAV AND YEAR INDICATOR -->
		<tr class="y">
		  <td class="b" nowrap="nowrap">2017</td>
		  <td class="c" id="displayYearEl" title="You are here: 18:35:29 Mar 13, 2018">2018</td>
		  <td class="f" nowrap="nowrap">2019</td>
		</tr>
	      </tbody>
	    </table>
	  </td>
	</tr>
	<tr>
	  <td class="s">
	    	    <div id="wm-nav-captures">
	      	      <a class="t" href="/web/20180313183529*/https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579?u=falcotest" title="See a list of every capture for this URL">1 capture</a>
	      <div class="r" title="Timespan for captures of this URL">13 Mar 2018</div>
	      </div>
	  </td>
	  <td class="k">
	    <a href="" id="wm-graph-anchor">
	      <div id="wm-ipp-sparkline" title="Explore captures for this URL" style="position: relative">
		<canvas id="wm-sparkline-canvas" width="575" height="27" border="0"></canvas>
	      </div>
	    </a>
	  </td>
	</tr>
      </tbody>
    </table>
    <div style="position:absolute;bottom:0;right:2px;text-align:right;">
      <a id="wm-expand" class="wm-btn wm-closed" href="#expand" onclick="__wm.ex(event);return false;"><span id="wm-expand-icon" class="iconochive-down-solid"></span> <span style="font-size:80%">About this capture</span></a>
    </div>
  </div>
    <div id="wm-capinfo" style="border-top:1px solid #777;display:none; overflow: hidden">
            <div style="background-color:#666;color:#fff;font-weight:bold;text-align:center">COLLECTED BY</div>
    <div style="padding:3px;position:relative" id="wm-collected-by-content">
      <div style="display:inline-block;vertical-align:top;width:49%;">
			<span class="c-logo" style="background-image:url(https://archive.org/services/img/liveweb)"></span>
		<div>Collection: <a style="color:#33f;" href="https://archive.org/details/liveweb" target="_new"><span class="wm-title">Live Web Proxy Crawls</span></a></div>
		<div style="max-height:75px;overflow:hidden;position:relative;">
	  <div style="position:absolute;top:0;left:0;width:100%;height:75px;background:linear-gradient(to bottom,rgba(255,255,255,0) 0%,rgba(255,255,255,0) 90%,rgba(255,255,255,255) 100%);"></div>
	  Content crawled via the <a href="http://archive.org/web/web.php">Wayback Machine</a> Live Proxy mostly by the Save Page Now feature on web.archive.org.
<br /><br />
Liveweb proxy is a component of Internet Archive’s wayback machine project. The liveweb proxy captures the content of a web page in real time, archives it into a ARC or WARC file and returns the ARC/WARC record back to the wayback machine to process. The recorded ARC/WARC file becomes part of the wayback machine in due course of time.
<br /><br />
	</div>
	      </div>
    </div>
    <div style="background-color:#666;color:#fff;font-weight:bold;text-align:center" title="Timestamps for the elements of this page">TIMESTAMPS</div>
    <div>
      <div id="wm-capresources" style="margin:0 5px 5px 5px;max-height:250px;overflow-y:scroll !important"></div>
      <div id="wm-capresources-loading" style="text-align:left;margin:0 20px 5px 5px;display:none"><img src="/static/images/loading.gif" alt="loading" /></div>
    </div>
  </div></div></div></div><script type="text/javascript">
__wm.bt(575,27,25,2,"web","https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579?u=falcotest","2018-03-13",1996);
</script>
<!-- END WAYBACK TOOLBAR INSERT -->

```

Also, their proxy is failing to load our thir party js script at `https://web.archive.org/web/20180313183530/https://global.discourse-cdn.com/meta/assets/plugin-third-party-a2f584b233a72491ff3314b6b98a7d5eb77b3cf099111c1266dcf03974044e9e.js`.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [3월 13, 2018, 6:57오후 UTC](https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579/32 "2018-03-13T18:57:13Z")

</div>

You should ping them directly, I know they hang out on IRC etc

---

<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: [3월 13, 2018, 8:54오후 UTC](https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579/33 "2018-03-13T20:54:35Z")

</div>

OK I think I know what’s happening:

1. User starts archiving process in the Wayback Machine

2. Wayback Machine just loads standard Discourse in your browsers, under their domain, with some injected JS.

3. We serve the correct HTML/JS/CSS, but since we are in a strange domain:  
`https://web.archive.org/web/20180313203411/https://community.letsencrypt.org/t/acme-v2-and-wildcard-certificate-support-is-live/55579?u=falcotesting`  
Ember router doesn’t know how the route and renders the 404 template.

Any ideas @eviltrout ?

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [3월 13, 2018, 9:02오후 UTC](https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579/34 "2018-03-13T21:02:18Z")

</div>

That is going to be tricky. Not sure to fix outside of having discourse recognize the wayback machine URLs and strip them?

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [3월 15, 2018, 5:30오전 UTC](https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579/35 "2018-03-15T05:30:28Z")

</div>

Tip: also handle URLs where the date is suffixed with “if\_” (for in-page content, i.e. subresources i.e. "if"rames).

---

<div class="post-metadata">

### Author: ![Freso](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/freso/32/49081_2.png) [@Freso](https://meta.discourse.org/u/Freso)
#### Post date: [3월 16, 2018, 7:47오후 UTC](https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579/36 "2018-03-16T19:47:18Z")

</div>

I’ve tried to poke one of the IA employees I know and see if he knows who to poke at IA/how to poke them.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2월 2, 2019, 3:22오전 UTC](https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579/38 "2019-02-02T03:22:17Z")

</div>

This looks OK to me now, or am I missing something cc @falco @ibnesayeed @anarcat

[http://web.archive.org/web/20190202031942/https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579](http://web.archive.org/web/20190202031942/https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579)

We’re getting the crawler version which seems to work fine and is a good outcome?

 ![image](https://global.discourse-cdn.com/meta/original/3X/7/8/782bd6df3912d3c83f1b3a96f1786a064d6f06fb.png)

---

<div class="post-metadata">

### Author: ![anarcat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/anarcat/32/130748_2.png) [@anarcat](https://meta.discourse.org/u/anarcat)
#### Post date: [2월 4, 2019, 7:50오후 UTC](https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579/40 "2019-02-04T19:50:41Z")

</div>

I don’t see the same result here, strangely:

 ![image](https://global.discourse-cdn.com/meta/original/3X/1/c/1cee4f80fce73326003229426716645cb9ca29fb.png)

“Oops! That page doesn’t exist or is private.”

I tried to save the page with the “save page now” feature, maybe that’s the trouble?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2월 4, 2019, 10:27오후 UTC](https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579/41 "2019-02-04T22:27:49Z")

</div>

> [@anarcat](#):
>
> I tried to save the page with the “save page now” feature

Do you mean some oddball browser plugin, or a web page where you paste in the URL?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2월 4, 2019, 10:28오후 UTC](https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579/42 "2019-02-04T22:28:10Z")

</div>

Sort of, going to page two from there does not work. Try it.

---

<div class="post-metadata">

### Author: ![anarcat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/anarcat/32/130748_2.png) [@anarcat](https://meta.discourse.org/u/anarcat)
#### Post date: [2월 4, 2019, 10:44오후 UTC](https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579/43 "2019-02-04T22:44:27Z")

</div>

> [@codinghorror](#):
>
> > I tried to save the page with the “save page now” feature
> 
> Do you mean some oddball browser plugin, or a web page where you paste in the URL?

I have a Javascript bookmarklet for the internet archive.

```
javascript:void(window.open('https://web.archive.org/save/'+location.href));

```

But I would assume the same would happen you would add the URL in [the save page now](https://web.archive.org/save) page.

> [@codinghorror](#):
>
> Sort of, going to page two from there does not work. Try it.

I… don’t understand what you mean there, sorry. 🙂

---

<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: [5월 30, 2019, 7:34오전 UTC](https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579/44 "2019-05-30T07:34:51Z")

</div>

> [@codinghorror](#):
>
> Do you mean some oddball browser plugin, or a web page where you paste in the URL?

This is a source of giant confusion, I just hit it. I want this fixed and am happy to have Discourse chuck money at this important problem.

Wayback machine has this thing called: liveweb proxy. [GitHub - internetarchive/liveweb: Liveweb proxy of the Wayback Machine project · GitHub](https://github.com/internetarchive/liveweb)

This little python thing has not been touched since 2013. What it does is attempts to offload “waybacking” to consumers.

If I head to wayback machine and plug in a URL it does not have I get:

 ![image](https://global.discourse-cdn.com/meta/original/3X/a/5/a5fd8de94c635370886dbd0a11b288ea1400812c.png)

So I head off and click that button and get:

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/5/6517d3a120e55ba9a852a45bc1676ab01c4391c5.png)

This screenshot is a lie, cause I can see the page properly as anonymous if I hit Discourse.

What happens here technically is that they run a proxy in California that intercepts all the traffic from my browser to meta. This proxy uses the **same** user agent as the one I have, so we think this is coming from Firefox and give it a proper desktop view which is not desirable at all.

There are 3 possible solutions to this problem

- Get wayback to add specific header to liveweb proxy to detect traffic is coming from it and switch to crawler view. I don’t think it has one cause I looked at the source and can not see it.

- We teach our ember app/router to understand the liveweb proxy is playing funny games with our web app and have it “allow” for it. This is a nightmare as @eviltrout will attest and not something I want us to do.

- Convince [archive.org](http://archive.org) to switch user agent to the **same user agent** they are using when they crawl us.

I think sorting this out is very important, cause each time people submit pages to wayback machine it is getting “rubbish” that it is considering adding to its index.

Do we have any friends at wayback we can talk to? Seems like a trivial fix on their end.

---

<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: [5월 30, 2019, 8:04오전 UTC](https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579/45 "2019-05-30T08:04:04Z")

</div>

… actually… looks like we have a header to key off…

 ![image](https://global.discourse-cdn.com/meta/original/3X/b/4/b487ffae181e58a7e02d7b473e6cbcb17b791793.png)

@maja can you fix this up. Treat stuff as a “crawler” if the via header is set to `web.archive.org`.

( you get that page by trying to archive `https://www.whatismybrowser.com/detect/what-http-headers-is-my-browser-sending?randomstring` )

Then test once deployed on [https://archive.org/web/](https://archive.org/web/) by adding a URL.

---

<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: [6월 3, 2019, 5:32오전 UTC](https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579/47 "2019-06-03T05:32:15Z")

</div>

Thanks to @maja we now detect wayback machine and thanks to @awesomerobot and @saurabhp we style it much nicer, so we have:

 ![image](https://global.discourse-cdn.com/meta/original/3X/4/2/42a3c53276b59930a87c8a68fbe017f534914ced.png)

I feel this is done enough to close 😊 we can look at refining it further down the line.

---

<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: [6월 3, 2019, 5:32오전 UTC](https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579/48 "2019-06-03T05:32:51Z")

</div>



[이전 페이지](https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579.md?page=1)

[다음 페이지](https://meta.discourse.org/t/make-discourse-play-nice-with-the-wayback-machine/34579.md?page=3)
