Prevent external links from "replacing" the viewer when it's embedded (bug 976541)

Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=976541.

This patch also adds a `externalLinkTarget` preference, to make the behaviour user configurable.
This commit is contained in:
Jonas Jenwald 2015-04-19 12:40:46 +02:00
parent 39b962e3b0
commit 610df45bad
2 changed files with 16 additions and 3 deletions

View file

@ -32,5 +32,6 @@ var DEFAULT_PREFERENCES = {
disableAutoFetch: false,
disableFontFace: false,
disableTextLayer: false,
useOnlyCssZoom: false
useOnlyCssZoom: false,
externalLinkTarget: 0,
};