PageSourceSearch

https://sso-prod.tehy.fi/resources/script.js

js tehy.fi collected 2026-09-24 09:31:07 UTC 845 bytes, 44 lines download raw bytes

1/**
2 * Set focus to the element with the given id.
3 *
4 * @param id  The id of the element which should receive focus.
5 */
6function SimpleSAML_focus(id)
7{
8    var element = document.getElementById(id);
9    if (element != null) {
10        element.focus();
11    }
12}
13
14
15/**
16 * Show the given DOM element.
17 *
18 * @param id  The id of the element which should be shown.
19 */
20function SimpleSAML_show(id)
21{
22    var element = document.getElementById(id);
23    if (element == null) {
24        return;
25    }
26
27    element.style.display = 'block';
28}
29
30
31/**
32 * Hide the given DOM element.
33 *
34 * @param id  The id of the element which should be hidden.
35 */
36function SimpleSAML_hide(id)
37{
38    var element = document.getElementById(id);
39    if (element == null) {
40        return;
41    }
42
43    element.style.display = 'none';
44}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.