PageSourceSearch

https://www.iroc.ch/js/cookie.js?v=105

js iroc.ch collected 2026-10-03 00:26:52 UTC 687 bytes, 35 lines download raw bytes

1checkLocakStorage();
2
3function addCookieCompliance() {
4	sessionStorage.setItem('cookieCompliance', 'on');
5}
6
7function addInfoBannerCookie() {
8	sessionStorage.setItem('infoBannerCookie', 'added');
9}
10
11function removeInfoBanner(){
12	$('.info-banner').remove();
13	addInfoBannerCookie();
14}
15
16function removeCookieBanner(){
17	$('.cookie-banner').remove();
18	addCookieCompliance();
19}
20
21function checkLocakStorage() {
22	var complianceItem = sessionStorage.getItem('cookieCompliance');
23	var infoBannerItem = sessionStorage.getItem('infoBannerCookie');
24	if (complianceItem != 'on') {
25		$('.cookie-banner').slideToggle();
26	}
27	if (infoBannerItem != 'added') {
28		$('.info-banner').slideToggle(1);
29	}
30}
31
32
33
34
35

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.