Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- <?php if(in_array(getQueryParam('al', ''), ['show', 'offline'], true)) {?>
- setTimeout(function () {
- alert(languageSelector.alertwindow);
- }, 100);
- <?php } ?>
- let clickURL = '<?= $link ?>';
- function go_click(e) {
- window.open(clickURL, '_blank');
- window.onbeforeunload = null;
- top.location.href = clickURL;
- if (e) e.preventDefault();
- return false;
- }
- <?php if(getQueryParam('fpr', false)) {?>
- document.body.addEventListener('click', go_click);
- <?php } ?>
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement