PageSourceSearch

https://conversight.ai/wp-content/themes/berg-theme-child/dist/js/resource.js

js conversight.ai collected 2026-10-01 15:54:19 UTC 1,789 bytes, 56 lines download raw bytes

1const currentURL = window.location.href;
2
3if(currentURL.indexOf('view=clear') > 0){
4	localStorage.removeItem('reportUngated');
5	localStorage.removeItem('allowedURLs');
6	alert('all clear');
7}
8
9jQuery(document).ready(function($) {
10	var tempURL = currentURL.split('?view=ungated');
11	var reportUngated = localStorage.hasOwnProperty('reportUngated');
12	var allowedURLs = localStorage.hasOwnProperty('allowedURLs');
13	//alert(reportUngated);
14	
15	
16	if(currentURL.indexOf('view=ungated') > 0){
17		localStorage.setItem('reportUngated', 'true');
18		
19		if(allowedURLs){
20			var allowedURLs_str = localStorage.getItem('allowedURLs');
21			if(allowedURLs_str.indexOf(tempURL[0]) > -1) {
22				//alert('has a match');
23			} else {
24				var stringifiedURLs = allowedURLs_str + ' | ' + tempURL[0];
25				localStorage.setItem('allowedURLs', stringifiedURLs);
26			}
27		} else {
28			var stringifiedURLs = tempURL[0];
29			localStorage.setItem('allowedURLs', stringifiedURLs);
30		}
31		
32		$('.toc.locked').removeClass('locked');
33		$('.form-request,.read-report-form,#gated_content').remove();
34		$('.content.content-default').remove();
35		$('.content-hidden').removeClass('content-hidden');
36		$('.download-hide').show();
37		$('.content.overflow-hidden').removeClass('overflow-hidden');
38	} else {
39		if(reportUngated){
40			
41				if(allowedURLs) {
42					var allowedURLs_str = localStorage.getItem('allowedURLs');
43					//alert(allowedURLs_str);
44					if(allowedURLs_str.indexOf(tempURL[0]) > -1) {
45						$('.toc.locked').removeClass('locked');
46						$('.form-request,.read-report-form,#gated_content').remove();
47						$('.content.content-default').remove();
48						$('.content-hidden').removeClass('content-hidden');
49						$('.download-hide').show();
50						$('.content.overflow-hidden').removeClass('overflow-hidden');
51					}
52				}
53
54		}
55	}
56});

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.