OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script> | 4 <script> |
5 var cs = chrome.experimental.contentSettings; | 5 var pref = chrome.experimental.contentSettings.global.referrersEnabled; |
6 var pref = cs.misc.enableReferrers; | |
7 | 6 |
8 /** | 7 /** |
9 * Returns whether the |levelOfControl| means that the extension can change the | 8 * Returns whether the |levelOfControl| means that the extension can change the |
10 * preference value. | 9 * preference value. |
11 * | 10 * |
12 * @param levelOfControl{string} | 11 * @param levelOfControl{string} |
13 */ | 12 */ |
14 function settingIsControllable(levelOfControl) { | 13 function settingIsControllable(levelOfControl) { |
15 return (levelOfControl == "controllable_by_this_extension" || | 14 return (levelOfControl == "controllable_by_this_extension" || |
16 levelOfControl == "controlled_by_this_extension"); | 15 levelOfControl == "controlled_by_this_extension"); |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 <br> | 119 <br> |
121 <input type="checkbox" onclick="setPrefValue(this.checked, true)" id="incognitoV
alue" disabled="disabled"/> Enable referrers in incognito sessions | 120 <input type="checkbox" onclick="setPrefValue(this.checked, true)" id="incognitoV
alue" disabled="disabled"/> Enable referrers in incognito sessions |
122 </div> | 121 </div> |
123 <div id="incognito-forbidden"> | 122 <div id="incognito-forbidden"> |
124 Select "Allow in incognito" to access incognito preferences | 123 Select "Allow in incognito" to access incognito preferences |
125 </div> | 124 </div> |
126 </div> | 125 </div> |
127 | 126 |
128 </body> | 127 </body> |
129 </html> | 128 </html> |
OLD | NEW |