PageSourceSearch

https://www.nikonimgsupport.com/eu/resource/1688785416000/CMN_SupportSites/js/common.js

js nikonimgsupport.com collected 2026-10-02 11:00:49 UTC 1,288 bytes, 46 lines download raw bytes

1if (!window.nikonSfdc) {
2	window.nikonSfdc = {};
3}
4window.nikonSfdc.loadHeaderFooter = function(langCode, countryCode, kyoten) {
5	var $header = $('.sfdcSiteHeader');
6	var $footer = $('.sfdcSiteFooter');
7	var $headerInput = $header.children(':input:hidden');
8	var $footerInput = $footer.children(':input:hidden');
9	var $headerContent = $header.children('div');
10	var $footerContent = $footer.children('div');
11	if ($headerInput.val() && $footerInput.val()) {
12		$headerContent.html($headerInput.val());
13		$footerContent.html($footerInput.val());
14		return;
15	}
16	function getLocaleCode() {
17		if (langCode == '') {
18			langCode = 'en';
19		}
20		if (countryCode == '') {
21			countryCode = google.loader.ClientLocation.address.country_code;
22		}
23		return langCode + '_' + countryCode;
24	}
25	var localeCode = getLocaleCode();
26	Visualforce.remoting.Manager.invokeAction(
27		'HeaderFooterController.getHeaderFooter'
28		, localeCode
29		, kyoten
30		, function(result, event) {
31			if (event.status) {
32				if (result.length == 0) {
33					console.log('empty header footer');
34					return;
35				}
36				$headerInput.val(result[0]);
37				$headerContent.html(result[0]);
38				$footerInput.val(result[1]);
39				$footerContent.html(result[1]);
40			} else {
41				console.log(JSON.stringify(event));
42			}
43		}
44		, {escape: false}
45	);
46};

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.