Skip to content

Commit

Permalink
Fix minor missing Restricted mode changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaifroid committed Jul 15, 2024
1 parent 7c00acf commit 7c9f4c1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ extensions running locally block (by design) a lot of dynamic content such as in
with some modern dynamic content, and in particular, it won't work with Zimit-based archives (if you open one of these in this mode, you
will be thrown back to Restricted mode in order to view static content). However, this mode is useful if you cannot access the offline-first PWA,
and should work with most official Kiwix ZIM archives;
- "Safe" mode prevents running attached scripts in the iframe, and so is useful for checking the contents of a ZIM before deciding it is safe
- "Restricted" mode prevents running attached scripts in the iframe, and so is useful for checking the contents of a ZIM before deciding it is safe
to run. This mode also works in browsers that do not support Service Workers. It parses the DOM to find the HTML tags of the dependencies and
modifies them to point to content we extract from the ZIM. This mode is compatible with any browser, but becuase it cannot run JavaScript
inside the ZIM file, does not work well (if at all) with ZIMs that depend on dynamic content. If you open a dynamic (including Zimit) archive
Expand Down
2 changes: 1 addition & 1 deletion i18n/en.jsonp.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion i18n/es.jsonp.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion i18n/fr.jsonp.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion www/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ async function verifyLoadedArchive (archive) {
verificationBody.outerHTML,
translateUI.t('dialog-sourceverification-title') || 'Security alert!',
true,
translateUI.t('dialog-sourceverification-safe-mode-button') || 'Open in Restricted Mode',
translateUI.t('dialog-sourceverification-restricted-mode-button') || 'Open in Restricted Mode',
translateUI.t('dialog-sourceverification-trust-button') || 'Trust Source'
);

Expand Down

0 comments on commit 7c9f4c1

Please sign in to comment.