Cox’s Bazar Beach
Cox’s Bazar beach The highest which is known to all as the biggest beach. 120 requests for it. Cox’s Bazar is surrounded by picturesque surroundings, floating in the ocean and…
Cox’s Bazar beach The highest which is known to all as the biggest beach. 120 requests for it. Cox’s Bazar is surrounded by picturesque surroundings, floating in the ocean and…
কক্সবাজার সমুদ্র সৈকত যা পৃথিবীর সবচেয়ে বড় সমুদ্র সৈকত হিসেবে সবার কাছে পরিচিত। এটির দৈর্ঘ্য ১২০ কিলোমিটার। আশেপাশের বৈচিত্র্যময় পরিবেশ উপভোগ, বিশাল সমুদ্রে গা ভাসানো এবং সামুদ্রিক মাছের স্বাদ গ্রহণে…
ব্রয়লার মুরগীর বিরিয়ানি রেসিপি উপকরনঃ ব্রয়লার মুরগী রান্নার জন্যঃ রাইসের জন্য উপকরনঃ ১) ১ কেজি মুরগি (ব্রয়লার) ১। ২ কাপ পেয়াজ কুচি ২) আদা বাটা দেড় চা চামচ ২।আদা বাটা…
ম্যাংগো জেলি রেসিপি উপকরণঃ ১) পাকা আম-১ কেজি ৫) লবণ- পরিমাণ মতো ২) চিনি-১ কাপ ৬) গ্রীন ফুড কালার- ৩/৪ ফোটা ৩) অল্প চায়না গ্রাস- পরিমাণ মতো ৭) জাফরান- পরিমাণ…
" + scriptOptions._localizedStrings.redirect_overlay_title + "
", overlayText = "" + scriptOptions._localizedStrings.redirect_overlay_text + "
"; switch (scriptOptions._redirectOverlay) { case "overlay-only": break; case "overlay-with-spinner": overlayHTML = overlayContainer + overlaySpinner + overlayContainerClose; break; default: overlayHTML = overlayContainer + overlaySpinner + overlayTitle + overlayText + overlayContainerClose; break; } overlay.insertAdjacentHTML("afterbegin", overlayHTML); document.body.appendChild(overlay); } window.location = url; }; let targetWindow = scriptOptions._targetWindow || 'prefer-popup', lastPopup = false; const buttonLinks = document.querySelectorAll(' a[data-plugin="nsl"][data-action="connect"], a[data-plugin="nsl"][data-action="link"]'); buttonLinks.forEach(function (buttonLink) { buttonLink.addEventListener('click', function (e) { if (lastPopup && !lastPopup.closed) { e.preventDefault(); lastPopup.focus(); } else { let href = this.href, success = false; if (href.indexOf('?') !== -1) { href += '&'; } else { href += '?'; } const redirectTo = this.dataset.redirect; if (redirectTo === 'current') { href += 'redirect=' + encodeURIComponent(window.location.href) + '&'; } else if (redirectTo && redirectTo !== '') { href += 'redirect=' + encodeURIComponent(redirectTo) + '&'; } if (targetWindow !== 'prefer-same-window' && checkWebView()) { targetWindow = 'prefer-same-window'; } if (targetWindow === 'prefer-popup') { lastPopup = NSLPopup(href + 'display=popup', 'nsl-social-connect', this.dataset.popupwidth, this.dataset.popupheight); if (lastPopup) { success = true; e.preventDefault(); } } else if (targetWindow === 'prefer-new-tab') { const newTab = window.open(href + 'display=popup', '_blank'); if (newTab) { if (window.focus) { newTab.focus(); } success = true; window._nslHasOpenedPopup = true; e.preventDefault(); } } if (!success) { window.location = href; e.preventDefault(); } } }); }); let buttonCountChanged = false; const googleLoginButtons = document.querySelectorAll(' a[data-plugin="nsl"][data-provider="google"]'); if (googleLoginButtons.length && checkWebView()) { googleLoginButtons.forEach(function (googleLoginButton) { if (scriptOptions._unsupportedWebviewBehavior === 'disable-button') { disableButtonInWebView(googleLoginButton); } else { googleLoginButton.remove(); buttonCountChanged = true; } }); } const facebookLoginButtons = document.querySelectorAll(' a[data-plugin="nsl"][data-provider="facebook"]'); if (facebookLoginButtons.length && checkWebView() && /Android/.test(window.navigator.userAgent) && !isAllowedWebViewForUserAgent('facebook')) { facebookLoginButtons.forEach(function (facebookLoginButton) { if (scriptOptions._unsupportedWebviewBehavior === 'disable-button') { disableButtonInWebView(facebookLoginButton); } else { facebookLoginButton.remove(); buttonCountChanged = true; } }); } const separators = document.querySelectorAll('div.nsl-separator'); if (buttonCountChanged && separators.length) { separators.forEach(function (separator) { const separatorParentNode = separator.parentNode; if (separatorParentNode) { const separatorButtonContainer = separatorParentNode.querySelector('div.nsl-container-buttons'); if (separatorButtonContainer && !separatorButtonContainer.hasChildNodes()) { separator.remove(); } } }) } }); /** * Cross-Origin-Opener-Policy blocked the access to the opener */if (typeof BroadcastChannel === "function") { const _nslLoginBroadCastChannel = new BroadcastChannel('nsl_login_broadcast_channel'); _nslLoginBroadCastChannel.onmessage = (event) => { if (window?._nslHasOpenedPopup && event.data?.action === 'redirect') { window._nslHasOpenedPopup = false; const url = event.data?.href; _nslLoginBroadCastChannel.close(); if (typeof window.nslRedirect === 'function') { window.nslRedirect(url); } else { window.opener.location = url; } } }; }})();