PageSourceSearch

https://propagandahistory.ru/js/misc.js

js propagandahistory.ru collected 2026-10-02 10:53:21 UTC 492 bytes, 31 lines download raw bytes

1function trim(s)
2{
3  if (s)
4    return s.replace(/(^\s+)|(\s+$)/g, "");
5  else
6    return '';
7}
8
9function empty(s)
10{
11    if(trim(s) == '')
12          return true;
13    return false;
14}
15
16
17function CheckLoginForm()
18{
19  if (empty(document.auth.login.value))
20  {
21    alert('Введите свой логин.');
22    return false;
23  }
24   
25  if (empty(document.auth.passw.value))
26  {
27    alert('Введите свой пароль.');
28    return false;
29  }    
30}  
31    

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.