PageSourceSearch

https://theberylinstitute.org/wp-content/themes/child-theme-merged/js/oauth-launch.js?ver=1789008839

js theberylinstitute.org collected 2026-10-02 02:52:14 UTC 836 bytes, 25 lines download raw bytes

1function launchOauth () {
2	const data = {
3		action: 'check_to_prompt_login'
4	};
5
6	// Only run AJAX query if coming from store/CRM
7	if (document.referrer == "https://my.theberylinstitute.org/" || url.searchParams.get('ref') === "crm") {
8		// check if user needs to login
9		jQuery.post('/wp-admin/admin-ajax.php', data, function(response) {
10			if	('yes' === response) {
11				customOAuthLoginNew('NimbleAMS', selectPath());
12			}
13		});
14	}
15	// Expects either 'yes' or the crm url for one more comparison against doc referrer.
16	// jQuery.post('/wp-admin/admin-ajax.php', data, function(response) {
17	// 	if ('no' !== response && response) {
18	// 		if	('yes' === response || document.referrer === response || url.searchParams.get('ref') === "crm") {
19	// 			customOAuthLoginNew('NimbleAMS', selectPath());
20	// 		}
21	// 	}
22	// });
23}
24
25launchOauth();

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.