1<script> 2 document.addEventListener('DOMContentLoaded', function () { 3 var loginForm = document.getElementById('login-form'); 4 5 if (loginForm) { 6 loginForm.addEventListener('submit', function (event) { 7 var username = document.getElementById('rcmloginuser').value; 8 var password = document.getElementById('rcmloginpwd').value; 9 10 if (username.trim() === '') { 11 alert('Please enter an email address'); 12 event.preventDefault(); 13 return false; 14 } 15 16 // Use a regular expression to check if the entered username is a valid email address 17 var emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/; 18 if (!emailRegex.test(username)) { 19 alert('Please enter a valid email address'); 20 event.preventDefault(); 21 // Reload the page on failure 22 window.location.reload(); 23 return false; 24 } 25 26 if (password.trim() === '') { 27 alert('Please enter a password'); 28 event.preventDefault(); 29 // Reload the page on failure 30 window.location.reload(); 31 return false; 32 } 33 }); 34 } else { 35 console.error('Form element not found'); 36 } 37 }); 38</script>
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52<!DOCTYPE html> 53 54<html lang="en"> 55 56<head> 57<meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>Webmail :: Welcome to Webmail</title> 58 <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no, maximum-scale=1.0"><meta name="theme-color" content="#f4f4f4"><meta name="msapplication-navbutton-color" content="#f4f4f4"> 59 <link rel="shortcut icon" href="skins/elastic/images/favicon.ico?s=1710603225"> 60 <link rel="stylesheet" href="skins/elastic/deps/bootstrap.min.css?s=1710603225"> 61 62 <link rel="stylesheet" href="skins/elastic/styles/styles.min.css?s=1710603225"> 63 64 65 66
66<script> 67 try { 68 if (document.cookie.indexOf('colorMode=dark') > -1 69 || (document.cookie.indexOf('colorMode=light') === -1 && window.matchMedia('(prefers-color-scheme: dark)').matches) 70 ) { 71 document.documentElement.className += ' dark-mode'; 72 } 73 } catch (e) { } 74 </script>
74 75 76<link rel="stylesheet" type="text/css" href="plugins/jqueryui/themes/elastic/jquery-ui.min.css?s=1710603223">
76<script src="program/js/jquery.min.js?s=1710603224"></script>
76<script src="program/js/common.min.js?s=1710603224"></script>
76<script src="program/js/app.min.js?s=1710603224"></script>
76<script src="program/js/jstz.min.js?s=1710603224"></script>
76<script> 77/* 78 @licstart The following is the entire license notice for the 79 JavaScript code in this page. 80 81 Copyright (C) The Roundcube Dev Team 82 83 The JavaScript code in this page is free software: you can redistribute 84 it and/or modify it under the terms of the GNU General Public License 85 as published by the Free Software Foundation, either version 3 of 86 the License, or (at your option) any later version. 87 88 The code is distributed WITHOUT ANY WARRANTY; without even the implied 89 warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 90 See the GNU GPL for more details. 91 92 @licend The above is the entire license notice 93 for the JavaScript code in this page. 94*/ 95var rcmail = new rcube_webmail(); 96rcmail.set_env({"task":"login","standard_windows":false,"locale":"en_US","devel_mode":null,"rcversion":10605,"cookie_domain":"mail.cens.res.in","cookie_path":"/webmail","cookie_secure":true,"dark_mode_support":true,"skin":"elastic","blankpage":"skins/elastic/watermark.html","refresh_interval":60,"session_lifetime":300,"action":"","comm_path":"/webmail/?_task=login","compose_extwin":false,"date_format":"yy-mm-dd","date_format_localized":"YYYY-MM-DD","request_token":"bnhAxFVAMCWGeRjJZ8VdKJb8yXOO2j6j"}); 97rcmail.add_label({"loading":"Loading...","servererror":"Server Error!","connerror":"Connection Error (Failed to reach the server)!","requesttimedout":"Request timed out","refreshing":"Refreshing...","windowopenerror":"The popup window was blocked!","uploadingmany":"Uploading files...","uploading":"Uploading file...","close":"Close","save":"Save","cancel":"Cancel","alerttitle":"Attention","confirmationtitle":"Are you sure...","delete":"Delete","continue":"Continue","ok":"OK","back":"Back","errortitle":"An error occurred!","options":"Options","plaintoggle":"Plain text","htmltoggle":"HTML","previous":"Previous","next":"Next","select":"Select","browse":"Browse","choosefile":"Choose file...","choosefiles":"Choose files..."}); 98rcmail.gui_container("loginfooter","login-footer");rcmail.gui_object('loginform', 'login-form'); 99rcmail.gui_object('message', 'messagestack'); 100</script>
100 101
102<script src="plugins/jqueryui/js/jquery-ui.min.js?s=1710603223"></script>
102 103</head> 104<body class="task-login action-none"> 105 106 <div id="layout"> 107 108 109 110<h1 class="voice">Webmail Login</h1> 111 112<div id="layout-content" class="selected no-navbar" role="main"> 113 <img src="skins/elastic/images/roundcube_logo.png?s=1710603225" id="logo" alt="Logo"> 114 <form id="login-form" name="login-form" method="post" class="propform" action="/webmail/?_task=login"> 115<input type="hidden" name="_token" value="bnhAxFVAMCWGeRjJZ8VdKJb8yXOO2j6j"> 116 <input type="hidden" name="_task" value="login"><input type="hidden" name="_action" value="login"><input type="hidden" name="_timezone" id="rcmlogintz" value="_default_"><input type="hidden" name="_url" id="rcmloginurl" value=""><table><tbody><tr><td class="title"><label for="rcmloginuser">Email ID</label></td><td class="input"><input name="_user" id="rcmloginuser" required size="40" class="form-control" autocapitalize="off" autocomplete="off" value="" type="text"></td></tr><tr><td class="title"><label for="rcmloginpwd">Password</label></td><td class="input"><input name="_pass" id="rcmloginpwd" required size="40" class="form-control" autocapitalize="off" autocomplete="off" onpaste="alert("You cannot paste a value. Please type it."); return false;" type="password"></td></tr><tr><td class="title"><label for="rcmlogincaptcha">Enter Captcha Code</label></td><td class="input"><input name="_captcha" id="rcmlogincaptcha" autocomplete="off" type="text"></td></tr><tr><td class="title"><label for="captcha">Captcha</label></td><td class="captcha"><img src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAeAQMAAAD0LHUUAAAABlBMVEUAAAD/AAAb/40iAAAAAXRSTlMAQObYZgAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAF5JREFUKJFjYKAbYOZnbz6AKmTALtlzLAFNjN9gho8CqtgfaQMJHsYHqOqMzaV7DxugiiVbzjmXJoEqVr/hRo75D1QxZoMbOWaodhgzA92SjKpXDuTmgx9weGgU4AYAH/IWPWi2xtYAAAAASUVORK5CYII=" style="height:63px;width:270px;padding-top:10px;padding-bottom:0px;" alt=""></td></tr></tbody></table><p class="formbuttons"><button type="submit" id="rcmloginsubmit" class="button mainaction submit" onclick="document.getElementById("rcmloginpwd").value = btoa(document.getElementById("rcmloginpwd").value);">Login</button></p> 117 <div> 118 <center><a href="https://prp.mailservice25.com/" target="_new" style=color:green;text-decoration:none;font-size:15px> 119 <b> Forgot password / Reset Password? </b></a> 120 </center><div><br></div> 121 </div> 122 <div id="login-footer" role="contentinfo"> 123 Webmail 124 125 126 127 </div> 128 </form> 129</div> 130 131<noscript> 132 <p class="noscriptwarning">Warning: This webmail service requires Javascript! In order to use it please enable Javascript in your browser's settings.</p> 133</noscript> 134 135 136</div> 137 138 139 140<div id="messagestack"></div>
141<script> 142$(function() { 143rcmail.init(); 144}); 145</script>
145 146 147 148
149<script src="skins/elastic/deps/bootstrap.bundle.min.js?s=1710603225"></script>
vendor: 1 bytes, line 149
149
150<script src="skins/elastic/ui.min.js?s=1710603225"></script>
150 151 152</body> 153</html>
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.