MCPcopy Create free account
hub / github.com/ClearURLs/Addon / setText

Function setText

core_js/siteBlockedAlert.js:27–34  ·  view source on GitHub ↗

* Set the text for the UI.

()

Source from the content-addressed store, hash-verified

25 * Set the text for the UI.
26 */
27function 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();

Callers 1

Calls 1

translateFunction · 0.70

Tested by

no test coverage detected