PageSourceSearch

https://start2bitcoin.com/wp-content/plugins/the-plus-addons-for-e…update-plugin-popup.js?ver=6.4.111790659947

js start2bitcoin.com collected 2026-09-29 08:46:44 UTC 2,829 bytes, 66 lines download raw bytes

1// let params = new URLSearchParams(window.location.href),
2//     checkparams = params.get('tpae_user_review');
3
4// if( checkparams ) {
5    document.addEventListener("DOMContentLoaded", function () {
6
7        var reviewContentCon = document.querySelector('.tpae-update-popup-container');
8
9        const updateReviewContent = () => {
10            let review_container = `<div id="tp-update-popup" class="tp-update-popup">
11                                        <div class="tp-update-popup-inner">
12                                            <i class="theplus-i-cross"></i>
13                                            <div class="tp-popup-header">
14                                                <h2>What’s New in This Update?</h2>
15                                            </div>
16                                            <div class="tp-popup-body" style="height:100%;position:relative;">
17                                                <iframe width="100%" height="100%"
18                                                    src="https://www.youtube.com/embed/hByRIff5V0s?autoplay=1&mute=1&rel=0&showinfo=0"
19                                                    title="YouTube video" frameborder="0" allowfullscreen>
20                                                </iframe>
21                                            </div>
22                                        </div>
23                                    </div>`;
24            reviewContentCon.innerHTML = review_container;
25        };
26
27        jQuery(document).on('click', '.toplevel_page_theplus_welcome_page .tpae-update-popup-container .tp-update-popup-inner .theplus-i-cross', function(e) {
28            e.preventDefault();
29            
30            var VideoPopup = jQuery('.tpae-update-popup-container');
31            
32            VideoPopup.find('iframe').remove();
33            VideoPopup.hide();
34
35            var menuItem = document.querySelector('#toplevel_page_theplus_welcome_page');
36            if (menuItem) {
37                menuItem.classList.remove('tpae-admin-notice-active');
38            }
39
40            jQuery.ajax({
41                url: ajaxurl,
42                type: 'POST',
43                data: {
44                    action: 'tpae_update_popup_dismiss',
45                    security: tpaeUpdatePopup.nonce,
46                    type: 'tpae_update_popup_close',
47                },
48                success: function(response) {
49                    VideoPopup.hide();
50
51                    var menuItem = document.querySelector('#toplevel_page_theplus_welcome_page');
52					if (menuItem) {
53						menuItem.classList.remove('tpae-admin-notice-active');
54					}
55                }
56            });
57        });
58
59        const hash = window.location.href;
60
61        if( hash.includes('theplus_welcome_page') ) {
62            updateReviewContent();
63        }
64
65    });
66// }

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.