Skip to content

Commit

Permalink
Improve explanation when activating H on pages served by an extension
Browse files Browse the repository at this point in the history
The better solution will be to try and extract the original
URL from the 'chrome-extension://' URL in the case where the user
has a custom viewer installed.

That will not always be possible however, so try to provide
a better explanation of the extension's limitations.
  • Loading branch information
robertknight committed Feb 11, 2016
1 parent 75ae1e4 commit 57e7222
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion h/browser/chrome/help/index.html
Expand Up @@ -99,7 +99,14 @@ <h1 class="help-item__heading">We’re sorry, Hypothesis couldn’t open that fi
<section id="restricted-protocol" class="help-item">
<img class="help-item__icon" src="sad-annotation.svg" />
<h1 class="help-item__heading">We’re sorry, Hypothesis doesn’t work on this page…</h1>
<p class="center">This extension can only be used on pages served over HTTP/HTTPS and FTP.</p>
<p class="center">
This extension can only be used on pages served over HTTP/HTTPS and FTP.
</p>
<p class="center">
If you have a Chrome extension installed that provides a custom viewer
for PDFs or other file types, that may prevent them from being annotated
with Hypothesis.
</p>
</section>
<section id="blocked-site" class="help-item">
<img class="help-item__icon" src="sad-annotation.svg" />
Expand Down

0 comments on commit 57e7222

Please sign in to comment.