PageSourceSearch

https://investprofit.info/s/7b7f4f.js

js investprofit.info collected 2026-10-02 17:35:14 UTC 7,945 bytes, 170 lines download raw bytes

1try{
2
3      window.OneSignalDeferred = window.OneSignalDeferred || [];
4
5      OneSignalDeferred.push(function(OneSignal) {
6        var oneSignal_options = {};
7        window._oneSignalInitOptions = oneSignal_options;
8
9        oneSignal_options['serviceWorkerParam'] = { scope: '/' };
10oneSignal_options['serviceWorkerPath'] = 'OneSignalSDKWorker.js.php';
11
12        OneSignal.Notifications.setDefaultUrl("https://investprofit.info");
13
14        oneSignal_options['wordpress'] = true;
15oneSignal_options['appId'] = '24f6a987-3e39-4d1b-b756-963e82f6b919';
16oneSignal_options['allowLocalhostAsSecureOrigin'] = true;
17oneSignal_options['welcomeNotification'] = { };
18oneSignal_options['welcomeNotification']['title'] = "InvestProfit";
19oneSignal_options['welcomeNotification']['message'] = "Спасибо за подписку!";
20oneSignal_options['welcomeNotification']['url'] = "investprofit.info";
21oneSignal_options['path'] = "https://investprofit.info/wp-content/plugins/onesignal-free-web-push-notifications/sdk_files/";
22oneSignal_options['promptOptions'] = { };
23oneSignal_options['promptOptions']['actionMessage'] = "Получайте свежие новости первым!";
24oneSignal_options['promptOptions']['exampleNotificationTitleDesktop'] = "Прозрачное инвестирование";
25oneSignal_options['promptOptions']['exampleNotificationMessageDesktop'] = "Финансовый блог";
26oneSignal_options['promptOptions']['exampleNotificationTitleMobile'] = "Прозрачное инвестирование";
27oneSignal_options['promptOptions']['exampleNotificationMessageMobile'] = "Финансовый блог";
28oneSignal_options['promptOptions']['exampleNotificationCaption'] = "Вы сможете отписаться в любой момент!";
29oneSignal_options['promptOptions']['acceptButtonText'] = "Подписаться";
30oneSignal_options['promptOptions']['cancelButtonText'] = "Нет, спасибо.";
31oneSignal_options['promptOptions']['siteName'] = "InvestProfit";
32oneSignal_options['promptOptions']['autoAcceptTitle'] = "Подписаться";
33oneSignal_options['notifyButton'] = { };
34oneSignal_options['notifyButton']['enable'] = true;
35oneSignal_options['notifyButton']['position'] = 'bottom-right';
36oneSignal_options['notifyButton']['theme'] = 'default';
37oneSignal_options['notifyButton']['size'] = 'medium';
38oneSignal_options['notifyButton']['showCredit'] = true;
39oneSignal_options['notifyButton']['text'] = {};
40oneSignal_options['notifyButton']['text']['tip.state.unsubscribed'] = 'Подписаться на новости сайта';
41oneSignal_options['notifyButton']['text']['tip.state.subscribed'] = 'Вы успешно подписались на новости.';
42oneSignal_options['notifyButton']['text']['tip.state.blocked'] = 'Уведомления для вас отключены.';
43oneSignal_options['notifyButton']['text']['message.action.subscribed'] = 'Спасибо за подписку на новости!';
44oneSignal_options['notifyButton']['text']['message.action.resubscribed'] = 'Вы успешно подписались на новости!';
45oneSignal_options['notifyButton']['text']['message.action.unsubscribed'] = 'Вы отписались от новостей.';
46oneSignal_options['notifyButton']['text']['dialog.main.title'] = 'Push-уведомления';
47oneSignal_options['notifyButton']['text']['dialog.main.button.subscribe'] = 'Подписаться!';
48oneSignal_options['notifyButton']['text']['dialog.main.button.unsubscribe'] = 'Отписаться.';
49oneSignal_options['notifyButton']['text']['dialog.blocked.title'] = 'Разблокировать push-уведомления';
50oneSignal_options['notifyButton']['text']['dialog.blocked.message'] = 'Если вы хотите разблокировать уведомления, следуйте инструкции';
51oneSignal_options['notifyButton']['offset'] = {};
52oneSignal_options['notifyButton']['offset']['bottom'] = '105px';
53oneSignal_options['notifyButton']['offset']['left'] = '5px';
54oneSignal_options['notifyButton']['offset']['right'] = '13px';
55          /* OneSignal: Using custom SDK initialization. */
56                });
57
58      function documentInitOneSignal() {
59        var oneSignal_elements = document.getElementsByClassName("OneSignal-prompt");
60
61        var oneSignalLinkClickHandler = function(event) { OneSignal.Notifications.requestPermission(); event.preventDefault(); };        for(var i = 0; i < oneSignal_elements.length; i++)
62          oneSignal_elements[i].addEventListener('click', oneSignalLinkClickHandler, false);
63      }
64
65      if (document.readyState === 'complete') {
66           documentInitOneSignal();
67      }
68      else {
69           window.addEventListener("load", function(event){
70               documentInitOneSignal();
71          });
72      }}catch(e){console.log(e)}try{
73	;(function($){
74		if (!window.NinjaContactFormOpts || window.NinjaSidebar) return;
75
76		var opts = window.NinjaContactFormOpts;
77		var nksopts = window.NKS_CC_Opts;
78		var subopts = window.NKSubOpts;
79
80		var TYPE = NinjaContactFormOpts.sidebar_type;
81		var $bodybg = $('#ncf-body-bg');
82		var b = document.body;
83		var $body = $('body');
84		var bodyCss;
85
86		// fix onload
87		$(function(){
88			setTimeout(function() {
89
90				if (!$bodybg.parent().is($body)) {
91					$body.prepend($bodybg).prepend($('.ncf_trigger_tabs')).prepend($('#ncf_sidebar')).append($('#ncf-overlay-wrapper'));
92				}
93
94				if (TYPE === 'push') { $bodybg.css('backgroundColor', $body.css('backgroundColor')) }
95
96			},0)
97		})
98
99		if (TYPE === 'push') {
100
101			bodyCss = {
102				'backgroundColor':$body.css('backgroundColor'),
103				'backgroundImage':$body.css('backgroundImage'),
104				'backgroundAttachment':$body.css('backgroundAttachment'),
105				'backgroundSize':$body.css('backgroundSize'),
106				'backgroundPosition':$body.css('backgroundPosition'),
107				'backgroundRepeat':$body.css('backgroundRepeat'),
108				'backgroundOrigin':$body.css('backgroundOrigin'),
109				'backgroundClip':$body.css('backgroundClip')
110			};
111
112			if (bodyCss.backgroundColor.indexOf('(0, 0, 0, 0') + 1 || bodyCss.backgroundColor.indexOf('transparent') + 1 ) {
113				bodyCss.backgroundColor = '#fff';
114			}
115
116			if (bodyCss.backgroundAttachment === 'fixed') {
117				NinjaContactFormOpts.isBgFixed = true;
118				bodyCss.position = 'fixed';
119				bodyCss.bottom = 0;
120				bodyCss.backgroundAttachment = 'scroll';
121			} else {
122				bodyCss.height = Math.max(
123					b.scrollHeight, document.documentElement.scrollHeight,
124					b.offsetHeight, document.documentElement.offsetHeight,
125					b.clientHeight, document.documentElement.clientHeight
126				)
127			}
128
129			$bodybg.css(bodyCss);
130
131		} else {
132			//$body.addClass('nks_sidebar_slide')
133		}
134
135		setTimeout(function(){
136			var $tabs = $('.nks_cc_trigger_tabs');
137			var $btn;
138			var sel;
139			var nkspos = nksopts && nksopts.sidebar_pos;
140			var subpos = subopts && subopts.sidebar_pos;
141
142			if ( $tabs.length && (opts.sidebar_pos === nkspos || opts.sidebar_pos === subpos) ) {
143
144
145				$btn = $('<span class="fa-stack fa-lg ncf-tab-icon fa-3x"> <i class="fa ncf-icon-square fa-stack-2x "></i> <i class="fa ncf-icon-mail-1 fa-stack-1x fa-inverse"></i> </span>');
146
147        if (opts.sidebar_pos === nkspos) {
148	        $tabs.filter(':has(".nks-tab")').prepend($btn);
149	        return;
150        }
151
152				if (opts.sidebar_pos === subpos) {
153					$tabs.filter(':has(".nksub-tab-icon")').prepend($btn);
154					return;
155				}
156
157
158			} else {
159				$tabs = $('<div class="nks_cc_trigger_tabs ncf_tab ncf_label_visible nks_metro"><span class="fa-stack ncf-tab-icon fa-lg fa-3x"> <i class="fa ncf-icon-square fa-stack-2x "></i> <i class="fa ncf-icon-mail-1 fa-stack-1x fa-inverse"></i> </span></div>');
160				$body.append($tabs);
161			}
162		}, 0);
163
164	})(window.jQuery)}catch(e){console.log(e)}try{
165  window.OneSignal = window.OneSignal || [];
166  OneSignal.push(function() {
167    OneSignal.init({
168      appId: "24f6a987-3e39-4d1b-b756-963e82f6b919",
169    });
170  })}catch(e){console.log(e)}

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.