PageSourceSearch

https://modulo.ro/js/modulo.js

js modulo.ro collected 2026-09-25 23:55:56 UTC 1,177 bytes, 44 lines download raw bytes

1/*** 	THIS JAVASCRIPT FILE CONTAINS 			***\
2\*** 	FUNCTIONS THAT ARE APPLIED SITE-WIDE 	***/
3
4// Copyright generator
5function Copyright() {
6	var theDate=new Date();
7	document.write(theDate.getFullYear());
8}
9
10// change the price format & the remove button in the cart
11$(document).ready(function() {	
12	$.each($(".price div.productitemcell:contains(RON)"), function() {
13		$(this)
14		.text($(this).text().replace('RON',''))
15		.append(" lei")				
16	});
17
18	$.each($(".productfeaturelist div.productitemcell h5.price:contains(RON)"), function() {
19		$(this)
20		.text($(this).text().replace('RON',''))
21		.append(" lei")			
22	});
23	
24
25
26});
27
28
29function AddtoCartText(message) {
30	jQuery('#messageBox').text(message).fadeIn(100).delay(2500).fadeOut('slow');
31	//jQuery('#mybasket').removeClass("but-small").addClass("but-small-red").delay(2000).removeClass("but-small-red").addClass("but-small");
32}
33
34
35function GoBackFromCart(anchortext, whereto) {
36	if(whereto != 'referrer'){
37		document.write('<a href="' + whereto + '">&lsaquo; ' + anchortext + '</a>');
38	} else {
39			if (document.referrer){
40				document.write('<a href="' + document.referrer + '">&lsaquo; ' + anchortext + '</a>');
41			} 
42		}
43}
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.