PageSourceSearch

https://sulfilogger.com/wp-content/plugins/fill-form-to-see-prices/script2.js?ver=7.1.2

js sulfilogger.com collected 2026-09-26 02:40:54 UTC 1,412 bytes, 47 lines download raw bytes

1function see_prices_popup() {
2	let leModule;
3	for ( let i in window.Modules ) {
4//	console.log(window.Modules[ i ]);
5		if ( window.Modules[ i ].hasOwnProperty( 'module_id' ) ) {
6			if ( window.Modules[ i ].module_id === '10' ) {
7				leModule = new Optin.PopUp( window.Modules[ i ] );
8				leModule.showModule();
9			}
10		}
11	}	
12}
13
14jQuery(document).ready(function(){
15	if (jQuery(".module_id_10")[0]){
16		jQuery(".hustle-button-submit").parents('form:first').on("submit", function(event){
17			//Check if popup is closed. May not close if the form is not filled correctly.
18			myVar = setTimeout(see_prices_popup_closed, 500);
19		});		
20	}
21});
22
23function see_prices_popup_closed() {
24	console.log('a', jQuery(".module_id_10 .hustle-button-submit").is(":visible"));
25	if (!jQuery(".module_id_10 .hustle-error-message").is(":visible")) {
26		see_prices_setcookie("SulfiLogger_SP", true);
27		console.log('test', jQuery(".module_id_10").is(":visible"));
28		myVar = setTimeout(reload, 500);
29	}
30}
31
32function reload() {
33	if (!jQuery(".module_id_10 .hustle-button-submit").is(":visible")) {
34		location.reload();
35		return;
36	}
37	myVar = setTimeout(reload, 500);
38}
39
40
41function see_prices_setcookie(cookieName,cookieValue) {
42    var today = new Date();
43    var expire = new Date();
44    expire.setTime(today.getTime() + 3600000*24*14);
45    document.cookie = cookieName+"="+encodeURI(cookieValue) + ";expires="+expire.toGMTString() + ";path=/";
46}
47

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.