| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html i18n-values="dir:textdirection"> | 2 <html i18n-values="dir:textdirection"> |
| 3 <head> | 3 <head> |
| 4 <title i18n-content="title"> | 4 <title i18n-content="title"> |
| 5 </title> | 5 </title> |
| 6 <style> | 6 <style> |
| 7 html { | 7 html { |
| 8 height: 100%; | 8 height: 100%; |
| 9 } | 9 } |
| 10 body { | 10 body { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 function showPage() { | 40 function showPage() { |
| 41 document.body.style.visibility = 'visible'; | 41 document.body.style.visibility = 'visible'; |
| 42 } | 42 } |
| 43 | 43 |
| 44 // Show the interstitial page. | 44 // Show the interstitial page. |
| 45 function forceLoad() { | 45 function forceLoad() { |
| 46 sendCommand('proceed'); | 46 sendCommand('proceed'); |
| 47 } | 47 } |
| 48 | 48 |
| 49 document.addEventListener('DOMContentLoaded', function() { | 49 document.addEventListener('DOMContentLoaded', function() { |
| 50 var show_delay_time = localStrings.getString('show_delay_time'); | 50 var showDelayTime = localStrings.getString('show_delay_time'); |
| 51 var total_wait_time = localStrings.getString('total_wait_time'); | 51 var totalWaitTime = localStrings.getString('total_wait_time'); |
| 52 window.setTimeout(showPage, show_delay_time); | 52 window.setTimeout(showPage, showDelayTime); |
| 53 window.setTimeout(forceLoad, total_wait_time); | 53 window.setTimeout(forceLoad, totalWaitTime); |
| 54 }); | 54 }); |
| 55 </script> | 55 </script> |
| 56 | 56 |
| 57 <body oncontextmenu="return false;"> | 57 <body oncontextmenu="return false;"> |
| 58 <div class="header" i18n-content="heading"> | 58 <div class="header" i18n-content="heading"> |
| 59 </div> | 59 </div> |
| 60 </body> | 60 </body> |
| 61 </html> | 61 </html> |
| OLD | NEW |