PageSourceSearch

https://portal.rhodeislandres.com/app/inclime/js/register.js

js rhodeislandres.com collected 2026-10-06 06:19:29 UTC 1,541 bytes, 33 lines download raw bytes

1// Scripts for the user registration page
2
3// run the startTimer function when the page loads
4// run the stopTimer function when the form is submitted
5window.addEventListener('DOMContentLoaded', startSecurity, false);
6
7function startSecurity() {
8	//do not show the security fields
9	document.getElementById("no_show").style.display = "none";
10	document.getElementById("no_show").style.visibility = "hidden";
11	document.getElementById("no_show").style.position = "absolute";
12	document.getElementById("no_show").style.top = "0px";
13	document.getElementById("no_show").style.left = "-100px";
14
15	//get timestamp for when page loads, set it to hidden input field
16	var startDate = new Date();
17	var startTimestamp = startDate.getTime(); //timestamp for page load
18	document.getElementById("startTime").value = startTimestamp;
19}
20
21function stopTimer() {
22		// get timestamp for when form is submitted.
23		// If submit time is less than a specified amount of time after page load, form was likely submitted by a bot
24		// Evaluation of the actual elapsed time will be handled by CI form validation to use existing error msg output
25		var dateNow = new Date();
26    var timeNow = dateNow.getTime(); // timestamp for form submit
27		var start = document.getElementById("startTime").value;
28    var timeDiff = timeNow - start;
29    var secondsElapsed = Math.floor ( timeDiff / 1000 );
30		document.getElementById("submitTime").value = secondsElapsed;
31    //for testing - may need to clear cache after saving file -
32		//document.getElementById("website").value = "YES";
33}

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.