~kirkland/ubuntu-manpage-repository/http-repo

« back to all changes in this revision

Viewing changes to www/not_found.html

  • Committer: Dustin Kirkland
  • Date: 2011-05-12 15:16:03 UTC
  • Revision ID: kirkland@ubuntu.com-20110512151603-9tmmgajbzgi1mxdr
one more changed needed to support:
 * http://manpages.ubuntu.com/open.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
    // Try redirecting to a page of search results
9
9
    q = q.replace(/.*\//, "");
10
10
    q = q.replace(/\.html$/, "");
11
 
    q = q.replace(/\.[0-9].*$/, "");
12
11
    location.replace('/cgi-bin/search.py?cx=003883529982892832976%3A5zl6o8w6f0s&cof=FORID%3A9&ie=UTF-8&titles=404&lr=lang_en&q=' + q);
13
12
  }
14
13
</script>