kiwix / kiwix-js

Fully portable & lightweight ZIM reader in Javascript
https://www.kiwix.org/
GNU General Public License v3.0
311 stars 135 forks source link

Rename "Safe Mode" to "Restricted Mode" #1259

Closed Jaifroid closed 4 months ago

Jaifroid commented 5 months ago

With regard to #1257, I think the use of the term "Safe Mode" may be steering some users towards not allowing the app to run in full ServiceWorker mode. I now think it would be better to use the term "Restricted Mode" (the term used in Visual Studio Code for when code is opened in a strong sandbox). This better describes the fact that the ZIM will not have all capabilities if read in this mode. The mode is now primarily intended as a "no-JavaScript" mode where untrusted ZIMs can be viewed without loading potentially unsafe scripts so that the user can judge the safety of the ZIM. Of course it also doubles as the fallback mode for devices or frameworks where Service Workers are not supported or banned (e.g. Chrome or Firefox on iOS, due to Apple restrictions, IE11, EdgeMobile, Firefox OS).