* Set the text for the UI.
()
| 25 | * Set the text for the UI. |
| 26 | */ |
| 27 | function setText() |
| 28 | { |
| 29 | document.title = translate('blocked_html_title'); |
| 30 | document.getElementById('title').innerHTML = translate('blocked_html_title'); |
| 31 | document.getElementById('body').innerHTML = translate('blocked_html_body'); |
| 32 | document.getElementById('page').textContent = translate('blocked_html_button'); |
| 33 | |
| 34 | } |
| 35 | |
| 36 | (function() { |
| 37 | setText(); |
no test coverage detected