mozilla/pdf.js — Issue #809: Back Button Broken on Google Search Results
Author: brendandahl
Created: 2011-11-16 18:41:28+00:00
State: open

On certain certain google search results they put a javascript redirect in to get to a pdf page. Once the pdf is loaded in our extension and you try and hit the back button it goes back to redirect page which then sends you back to the pdf. They don't seem to be doing this for all pages, but Vivien and I were able to reproduce using https://www.google.com/search?q=1040&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a and clicking the first result "1040 - Internal Revenue Service". Google is also using the same redirect for some html pages which doesn't break the back button.

There redirect code below:
```

```