PageSourceSearch

https://bin.fuvest.br/js/lgpd.js

js fuvest.br collected 2026-09-24 09:41:14 UTC 2,779 bytes, 63 lines download raw bytes

1jQuery('document').ready(function() {
2	jQuery(window).resize(function() {
3		jQuery('#idInformacaoCookie').remove();
4			
5		var cookies = document.cookie.split(";"), i, achou = false;
6		
7		for(i = 0; i < cookies.length; i++) {
8			cookies[i] = (cookies[i] + "").trim();
9			if (cookies[i] == "lgpd_acordo=estou_de_acordo") {
10				achou = true;
11			}
12		}
13		
14		if (!achou) {
15			var win = jQuery(window), w = win.width(), c = '';
16			
17			if (w > 400) {
18				w = 380;
19			}
20			else {
21				w = w - 20;
22			}
23			//52, 58, 64
24			//3,102,102
25			c =	'<div id="idInformacaoCookie" style="position:fixed;color:white;font-size:14px;bottom:10px;right:10px;width:' + w + 'px;border-radius:10px;background-color:rgba(52, 58, 64,0.95);box-shadow:0 3px 3px rgba(0,0,0,0.2);z-index:999999;">' +
26						'<div style="padding:20px;">' +
27							'Nossos <i>sites</i> utilizam <i>“Cookies”</i> para tornar a sua experiência de navegação ainda mais agradável. E para reforçar o nosso compromisso com a Privacidade, todas as informações sobre os <i>“Cookies”</i> que utilizamos poderão ser encontradas em nossa <span style="cursor:pointer;" id="idSPANPolitica"><u>Política de Privacidade</u></span>.<br>' + 
28							'<p style="text-align:center;margin:10px 0px 0px 0px;padding:0px;">' + 
29								'<span id="idPoliticaPrivacidade" style="margin:4px;padding:4px;cursor:pointer;background-color:white;color:black;border-radius:5px;line-height:100%;"> Política de Privacidade <\/span>' +
30								'<span id="idEstouCiente" style="margin:4px;padding:4px;cursor:pointer;background-color:white;color:black;border-radius:5px;line-height:100%;"> Estou Ciente <\/span>' +
31							'<\/p>' +
32						'<\/div>' +
33					'<\/div>';
34			jQuery('body').append(c);
35			
36			jQuery('#idSPANPolitica').click(function() {
37				window.location.href = "https://www.fuvest.br/politica-de-privacidade/";
38			});
39			
40			jQuery('#idPoliticaPrivacidade').click(function() {
41				window.location.href = "https://www.fuvest.br/politica-de-privacidade/";
42			}).mouseenter(function() {
43			jQuery(this).css({backgroundColor: 'red'});
44			}).mouseout(function() {
45			jQuery(this).css({backgroundColor: 'white'});
46			});
47			
48			jQuery('#idEstouCiente').click(function() {
49				var cookieDate = new Date();
50				cookieDate.setMonth(cookieDate.getMonth() + 12); // duração de um ano
51				document.cookie = "lgpd_acordo=estou_de_acordo;expires=" + cookieDate + ";domain=.fuvest.br;path=/";
52				jQuery('#idInformacaoCookie').fadeOut(1000, function() {
53					jQuery('#idInformacaoCookie').remove();
54				});
55			}).mouseenter(function() {
56			jQuery(this).css({backgroundColor: 'red'});
57			}).mouseout(function() {
58			jQuery(this).css({backgroundColor: 'white'});
59			});
60		}
61		
62	}).resize();
63});

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.