PageSourceSearch

https://www.golfdater.com/themes/js/app/common/interceptors/page_render-interceptor.js?t=1791275615

js golfdater.com collected 2026-10-07 13:33:18 UTC 776 bytes, 29 lines download raw bytes

1angular
2	.module('dating.interceptors.pageRender', [])
3	.factory('pageRenderInterceptor', function ($q, $location) {
4		return {
5			response: function (response) {
6				if (response.headers('X-Page-Render') === 'FullPageAd') {
7					$location.path('/fullPageAd');
8				}
9				return response || $q.when(response);
10			},
11			responseError: function (rejection) {
12				return $q.reject(rejection);
13			}
14		};
15	})
16	.factory('redirectInterceptor', function ($q, $window) {
17		return {
18			response: function (response) {
19				var redirectHeader = response.headers('X-Age-Verification-Redirect');
20				if (redirectHeader) {
21					$window.location.replace(redirectHeader);
22				}
23				return response;
24			},
25			responseError: function (rejection) {
26				return $q.reject(rejection);
27			}
28		};
29	});

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.