Project

General

Profile

« Previous | Next » 

Revision 093ec2a5

Added by koszko over 1 year ago

correct the Private Browsing mode notice on settings page

View differences:

html/settings.html
35 35
#LOADCSS html/base.css
36 36
#LOADCSS html/grid.css
37 37
    <style>
38
      #loader, #indexeddb_error {
38
      .full_page_msg {
39 39
	  margin: auto;
40 40
	  padding: 1em;
41 41
	  max-width: 800px;
42 42
      }
43
      #indexeddb_error p {
43
      .full_page_msg p {
44 44
	  margin-bottom: 1em;
45 45
      }
46 46

  
......
123 123
#INCLUDE html/item_preview.html
124 124
#INCLUDE html/text_entry_list.html
125 125
#INCLUDE html/payload_create.html
126
    <div id="loader">
127
      Loading settings page...
126
    <div id="loader" class="full_page_msg">
127
      <p>
128
	Loading settings page...
129
      </p>
128 130
    </div>
129
    <div id="indexeddb_error" class="hide">
131
    <div id="indexeddb_error" class="hide full_page_msg">
130 132
      <p>
131 133
	Cannot display settings page.
132 134
      </p>
......
135 137
	database in which Haketilo stores all its configuration. Without it, the
136 138
	settings page is non-operational.
137 139
      <p>
140
    </div>
138 141
#IF MOZILLA
139
	<div id="indexeddb_private_mode_explanation" class="hide">
140
	  <p>
141
	    This issue is the result of using Haketilo in Private Browsing mode.
142
	    For privacy reasons your browser blocks access to IndexedDB in
143
	    private windows and this unfortunately also affects Haketilo's
144
	    settings page.
145
	  </p>
146
	  <p>
147
	    You can sacrifice this single privacy feature and enable IndexedDB
148
	    access in private windows by navigating to "about:config" in the URL
149
	    bar, agreeing to accept the risk and setting the
150
	    "dom.indexedDB.privateBrowsing.enabled" preference to "true". Those
151
	    pages that have their scripts blocked will still be unable to access
152
	    IndexedDB.
153
	  </p>
154
	  <p>
155
	    Alternatively, you can open Haketilo's settings in a separate,
156
	    non-private window. The configuration you make there will take
157
	    effect on pages opened in Private Browsing mode as well.
158
	  </p>
159
	</div>
160
#ENDIF
142
    <div id="private_mode_error" class="hide full_page_msg">
143
      <p>
144
	The settings page could not be displayed in a private window.
145
      </p>
146
      <p>
147
	Due to bug <a href="https://hydrillabugs.koszko.org/issues/115">#115</a>
148
	it is currently impossible to access Haketilo settings when in Private
149
	Browsing mode. You can instead open this settings page in a non-private
150
	window. Changes you make there shall affect websites browsed in Private
151
	Mode as well.
152
      </p>
161 153
    </div>
154
#ENDIF
162 155
    <div id="main_view" class="hide">
163 156
      <ul id="tab_heads">
164 157
	<li id="blocking_head"> Blocking </li>

Also available in: Unified diff