PageSourceSearch

https://www.destinationtoronto.com/includes/public/managed/v_c8155…/core/plugins/core/public/js/loginCheck.js

js destinationtoronto.com collected 2026-09-24 08:47:42 UTC 698 bytes, 19 lines download raw bytes

1require(["sv_clientLib"], function(clientLib) {
2	if (clientLib.getCookie("plugins_core_logged_in") !== "true") { return; }
3
4	const content = document.querySelector('meta[name="sv-nav-properties"]').getAttribute('content');
5	if (content === undefined) { return; }
6	
7	const id = JSON.parse(content).id;
8	if (id === undefined) { return; }
9	
10	require([ "text!plugins_core_adminbar.html", "goatee", "sv_site" ], function(template, goatee, site) {
11		const html = goatee.fill(template, {
12			guid: clientLib.uuid(),
13			url: site.cmsUrl + "plugins/nav/edit_page_content/?id=" + id
14		});
15
16		const body = document.querySelector("body");
17		body.insertAdjacentHTML("beforeend", html);
18	});
19});

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.